Class: ViewModels::RenderOptions::Partial
- Defined in:
- lib/view_models/render_options.rb
Overview
A specific container for partial rendering.
Instance Attribute Summary
Attributes inherited from Base
#file, #format, #name, #path, #prefix, #view_model
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Partial
constructor
A new instance of Partial.
Methods inherited from Base
#error_format, #error_message, #error_path, #format!, #path_key, #to_render_options
Constructor Details
#initialize(name, options = {}) ⇒ Partial
Returns a new instance of Partial.
121 122 123 |
# File 'lib/view_models/render_options.rb', line 121 def initialize name, = {} super :'_', name, end |