adding the blocks to virtual machine and store instructions in array not list

This commit is contained in:
Torsten Ruger
2014-08-13 11:59:51 +03:00
parent c2ae184e6e
commit 200228a33d
16 changed files with 196 additions and 207 deletions

View File

@ -5,12 +5,6 @@ module Virtual
#
# functions on these classes express their functionality as function objects
class Object
def initialize
@layout = Layout.new( attributes )
end
def attributes
[:layout]
end
def == other
return false unless other.class == self.class
attributes.each do |a|