Class: Blueprinter::Extension Private
- Inherits:
-
Object
- Object
- Blueprinter::Extension
- Defined in:
- lib/blueprinter/extension.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class for all extensions. All extension methods are implemented as no-ops.
Instance Method Summary collapse
-
#pre_render(object, _blueprint, _view, _options) ⇒ Object
private
Called eary during “render”, this method receives the object to be rendered and may return a modified (or new) object to be rendered.
Instance Method Details
#pre_render(object, _blueprint, _view, _options) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Called eary during “render”, this method receives the object to be rendered and may return a modified (or new) object to be rendered.
18 19 20 |
# File 'lib/blueprinter/extension.rb', line 18 def pre_render(object, _blueprint, _view, ) object end |