assembles more already

This commit is contained in:
Torsten Ruger
2015-06-03 10:01:59 +03:00
parent 3cdb3d513c
commit 4ddfcc4900
6 changed files with 23 additions and 7 deletions

View File

@ -15,7 +15,7 @@ module Parfait
@name = name
end
attr_reader :name
# this is a sof check if there are instance variables or "structure"
# have to override false, as word answers true
def is_value?
@ -24,5 +24,9 @@ module Parfait
def to_s
"BinaryCode #{@name}"
end
def == other
self.object_id == other.object_id
end
end
end