Method: Blueprinter::Base.include_views
- Defined in:
- lib/blueprinter/base.rb
.include_views(*view_names) ⇒ Array<Symbol>
Specify additional views that should be mixed into the current view.
@param view_name [Array<Symbol>] the views to mix into the current view.
361 362 363 |
# File 'lib/blueprinter/base.rb', line 361 def self.include_views(*view_names) current_view.include_views(view_names) end |