reduce method return type to type and introduce a single instruction for instance get
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user