rename Mystery

just unknown, mystery should be more difficult to find out.
After all we keep run time info, so just need unknown at compile time
This commit is contained in:
Torsten Ruger
2015-06-11 07:04:14 +02:00
parent d8fa266b5d
commit ee6f9d733b
9 changed files with 24 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
module Virtual
# Integer and (Object) References are the main derived classes, but float will come and ...
# The Mystery Type has unknown type and has only casting methods. So it must be cast to be useful.
# The Unknown Type has unknown type and has only casting methods. So it must be cast to be useful.
class Type
def == other
return false unless other.class == self.class
@@ -20,7 +20,7 @@ module Virtual
attr_reader :of_class
end
class Mystery < Type
class Unknown < Type
end
end