Module: Wallaby::View::ActionViewable::ClassMethods
- Defined in:
- lib/wallaby/view/action_viewable.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#prefix_options ⇒ Hash
It stores the options for #_prefixes.
Instance Method Summary collapse
-
#merge_prefix_options(new_options) ⇒ Hash
Add prefix options.
Instance Attribute Details
#prefix_options ⇒ Hash
It stores the options for #_prefixes. It can inherit options from superclass.
17 18 19 |
# File 'lib/wallaby/view/action_viewable.rb', line 17 def @prefix_options ||= superclass.try(:prefix_options).try(:dup) || {} end |
Instance Method Details
#merge_prefix_options(new_options) ⇒ Hash
Add prefix options
24 25 26 |
# File 'lib/wallaby/view/action_viewable.rb', line 24 def () .merge!() end |