Torsten Rüger
c213cf874b
So that vool layer never has complex conditions or returns Start with while, next if, return and assign
12 lines
324 B
Ruby
12 lines
324 B
Ruby
module Ruby
|
|
# Send and yield are very very similar, so they have a base class CallStatement
|
|
#
|
|
# The SendStatement really only provides to_s, so see CallStatement
|
|
#
|
|
class SendStatement < CallStatement
|
|
def to_s(depth = 0)
|
|
at_depth( depth , "#{receiver}.#{name}(#{arguments.join(', ')})")
|
|
end
|
|
end
|
|
end
|