Method: DataModel::Errors#max_error_message
- Defined in:
- lib/data_model/errors.rb
#max_error_message(max, val) ⇒ String
Generate a message for a min error
165 166 167 |
# File 'lib/data_model/errors.rb', line 165 def (max, val) "value is more than the maximum of #{max}, it is #{val}" end |