supressing nil attributes on objects

This commit is contained in:
Torsten Ruger
2014-08-20 22:33:08 +03:00
parent 1371d395ec
commit 9608e5f626
3 changed files with 12 additions and 5 deletions

View File

@ -83,5 +83,11 @@ module Virtual
end
attr_reader :to , :from
end
class ObjectGet < Instruction
def initialize name
@name = name.to_sym
end
attr_reader :name
end
end