Bugs: Browse | Submit New | Admin

[#22518] Splat operations don't call to_ary

Date:
2008-10-22 23:34
Priority:
4
Submitted By:
Tomas Matousek (tmat)
Assigned To:
Tomas Matousek (tmat)
Category:
None
State:
Open
Summary:
Splat operations don't call to_ary

Detailed description
class C
  def to_ary
	[1,2]
  end
end

x = C.new
a,b = *x 
p a,b

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item