Exception: JOR::InvalidFieldName
- Defined in:
- lib/jor/errors.rb
Instance Method Summary collapse
-
#initialize(field) ⇒ InvalidFieldName
constructor
A new instance of InvalidFieldName.
Constructor Details
#initialize(field) ⇒ InvalidFieldName
Returns a new instance of InvalidFieldName.
19 20 21 |
# File 'lib/jor/errors.rb', line 19 def initialize(field) super %(Invalid character in field name "#{field}". Cannot start with '_' or '$') end |