Method: TTY::Table::Field#eql?

Defined in:
lib/tty/table/field.rb

#eql?(other) ⇒ Boolean

Compare fields for equality of value attribute

Returns:

  • (Boolean)


142
143
144
# File 'lib/tty/table/field.rb', line 142

def eql?(other)
  instance_of?(other.class) && value.eql?(other.value)
end