Class: Scribo::ActiveModel::ErrorsDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- Scribo::ActiveModel::ErrorsDrop
- Defined in:
- app/drops/scribo/active_model/errors_drop.rb
Instance Method Summary collapse
-
#initialize(object) ⇒ ErrorsDrop
constructor
A new instance of ErrorsDrop.
- #messages ⇒ Object
Constructor Details
#initialize(object) ⇒ ErrorsDrop
Returns a new instance of ErrorsDrop.
6 7 8 |
# File 'app/drops/scribo/active_model/errors_drop.rb', line 6 def initialize(object) @object = object end |
Instance Method Details
#messages ⇒ Object
11 12 13 |
# File 'app/drops/scribo/active_model/errors_drop.rb', line 11 def @object..stringify_keys end |