#has_instance, #to_ruby
3 4 5
# File 'lib/twostroke/runtime/types/undefined.rb', line 3 def self.new @@undefined ||= Undefined.allocate end
7 8 9
# File 'lib/twostroke/runtime/types/undefined.rb', line 7 def ===(other) other.is_a?(Undefined) end
11 12 13
# File 'lib/twostroke/runtime/types/undefined.rb', line 11 def typeof "undefined" end