module NullAndVoid::Introspectable

Public Instance Methods

inspect() click to toggle source
# File lib/null_and_void/introspectable.rb, line 7
def inspect
  "#<#{self.class.name}:0x#{(__id__ * 2).to_s(16)}>"
end
null_object?() click to toggle source
# File lib/null_and_void/introspectable.rb, line 3
def null_object?
  true
end