remove last block occurrences

fixed.
This commit is contained in:
Torsten Ruger
2015-10-25 12:03:31 +02:00
parent 471329917b
commit 0921073025
7 changed files with 26 additions and 16 deletions

View File

@ -106,6 +106,11 @@ module Register
position
end
end
def each_label labels =[] , &block
self.next.each_label(labels , &block) if self.next
end
end
end