add to_s for statements
This commit is contained in:
@ -36,6 +36,11 @@ module Vool
|
||||
raise "Not implemented for #{self}"
|
||||
end
|
||||
|
||||
def at_depth(depth , *strings)
|
||||
prefix = " " * 2 * depth
|
||||
strings.collect{|str| prefix + str}.join("\n")
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
class Expression
|
||||
|
Reference in New Issue
Block a user