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