module Basic101::Identity

Public Instance Methods

==(other) click to toggle source
# File lib/basic101/identity.rb, line 7
def ==(other)
  return false unless other.is_a?(self.class)
  self.state == other.state
end

Protected Instance Methods

state() click to toggle source
# File lib/basic101/identity.rb, line 14
def state
  []
end