Renaming Vool exppressions rightly
Class, Method and Lambda (was block) are expressions. Just making things clearer, especially for the blocks (ahem, lambdas) is matters. wip
This commit is contained in:
@ -34,11 +34,12 @@ module Ruby
|
||||
self
|
||||
end
|
||||
def to_vool
|
||||
if( single? )
|
||||
first.to_vool
|
||||
else
|
||||
vool_brother.new(@statements.collect{|s| s.to_vool})
|
||||
return first.to_vool if( single? )
|
||||
brother = vool_brother.new(nil)
|
||||
@statements.each do |s|
|
||||
brother << s.to_vool
|
||||
end
|
||||
brother
|
||||
end
|
||||
|
||||
def to_s(depth = 0)
|
||||
|
Reference in New Issue
Block a user