Exception: ErbForm::DoubleRenderError
- Inherits:
-
StandardError
- Object
- StandardError
- ErbForm::DoubleRenderError
- Defined in:
- lib/erb_form/builder.rb
Instance Method Summary collapse
-
#initialize(caller) ⇒ DoubleRenderError
constructor
A new instance of DoubleRenderError.
- #message ⇒ Object
Constructor Details
#initialize(caller) ⇒ DoubleRenderError
Returns a new instance of DoubleRenderError.
95 96 97 |
# File 'lib/erb_form/builder.rb', line 95 def initialize(caller) @caller = caller end |
Instance Method Details
#message ⇒ Object
99 100 101 |
# File 'lib/erb_form/builder.rb', line 99 def %(Called `field' from #{@caller.first}) end |