Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/active_model/error_collecting/core_ext.rb
Instance Method Summary collapse
Instance Method Details
#==(other) ⇒ Object
2 3 4 5 |
# File 'lib/active_model/error_collecting/core_ext.rb', line 2 def ==(other) return super other.to_s if other.is_a? ActiveModel::ErrorCollecting::ErrorMessage super end |