Fix ruby normalising to_vool

So that vool layer never has complex conditions or returns
Start with while, next if, return and assign
This commit is contained in:
2019-08-16 14:09:56 +03:00
parent 84b9811e55
commit c213cf874b
10 changed files with 40 additions and 31 deletions

View File

@ -23,8 +23,8 @@ module Ruby
def add_ivar( array )
array << @name
end
def to_s
"@#{name}"
def to_s(depth = 0)
at_depth(depth , "@#{name}" )
end
end