first method test

This commit is contained in:
Torsten Ruger
2014-07-14 11:29:38 +03:00
parent c1f475070b
commit d531a24930
5 changed files with 143 additions and 9 deletions

View File

@ -1,7 +1,3 @@
module Boot
class BootSoace
end
end
module Virtual
# our machine is made up of objects, some of which are code, some data
#
@ -26,6 +22,10 @@ module Virtual
return true
end
def inspect
self.class.name + ".new(" + attributes.collect{|a| send(a).inspect }.join(",")+ ")"
end
def self.space
if defined? @@space
@@space