reduce method return type to type and introduce a single instruction for instance get

This commit is contained in:
Torsten Ruger
2014-07-14 21:28:21 +03:00
parent b1893482ff
commit b59a9da34e
11 changed files with 51 additions and 19 deletions

View File

@@ -19,6 +19,9 @@ module Virtual
def inspect
self.class.name + ".new(#{@integer})"
end
def type
Virtual::Integer
end
end
# The name really says it all.