module Shared
Public Instance Methods
==(other)
click to toggle source
# File lib/shared.rb, line 2 def ==(other) self.class == other.class && other.val_eq?(val) end
val_eq?(other_val)
click to toggle source
# File lib/shared.rb, line 7 def val_eq?(other_val) other_val == val end