codes the while, but the testing throws stack too deep because loop detection is missing

This commit is contained in:
Torsten Ruger
2014-07-17 16:46:17 +03:00
parent f00fa98818
commit e02c6ed082
3 changed files with 36 additions and 18 deletions

View File

@ -77,7 +77,8 @@ module Virtual
before_label.next = label
end
end
attr_reader :other , :name
attr_reader :name
attr_accessor :other
def attributes
[:name , :next , :other]
end