Exception: Dynabute::FieldNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Dynabute::FieldNotFound
- Defined in:
- lib/dynabute.rb
Instance Method Summary collapse
-
#initialize(*criteria) ⇒ FieldNotFound
constructor
A new instance of FieldNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(*criteria) ⇒ FieldNotFound
Returns a new instance of FieldNotFound.
9 |
# File 'lib/dynabute.rb', line 9 def initialize(*criteria); @criteria = criteria; end |
Instance Method Details
#to_s ⇒ Object
10 |
# File 'lib/dynabute.rb', line 10 def to_s; "No dynabute field #{@criteria.compact.first} found"; end |