shortening some methods, removing object prefix

This commit is contained in:
Torsten Ruger
2015-10-26 12:58:38 +02:00
parent d2c670b31a
commit 4cadfc9ea9
8 changed files with 11 additions and 15 deletions

View File

@ -23,7 +23,7 @@ module Register
layout = object.get_layout
keep(layout , depth + 1)
return if object.is_a? Symbol
layout.object_instance_names.each do |name|
layout.instance_names.each do |name|
#puts "Keep #{name} for #{object.class}"
inst = object.get_instance_variable name
keep(inst , depth + 1)