Method: ActiveRecord::ConnectionAdapters::SqlTypeMetadata#==
- Defined in:
- activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb
#==(other) ⇒ Object Also known as: eql?
19 20 21 22 23 24 25 26 |
# File 'activerecord/lib/active_record/connection_adapters/sql_type_metadata.rb', line 19 def ==(other) other.is_a?(SqlTypeMetadata) && sql_type == other.sql_type && type == other.type && limit == other.limit && precision == other.precision && scale == other.scale end |