Implicit returns for class methods
gets us parsing of parfaits second file data_object
This commit is contained in:
@ -2,7 +2,8 @@ module Ruby
|
||||
class ClassMethodStatement < MethodStatement
|
||||
|
||||
def to_vool
|
||||
Vool::ClassMethodExpression.new( @name , @args.dup , @body.to_vool)
|
||||
body = normalized_body
|
||||
Vool::ClassMethodExpression.new( @name , @args.dup , body.to_vool)
|
||||
end
|
||||
|
||||
def to_s(depth = 0)
|
||||
|
Reference in New Issue
Block a user