Module: RulesEngineView::Defer
- Defined in:
- lib/rules_engine_view/defer.rb
Instance Method Summary collapse
- #set_re_breadcrumbs(*crumbs) ⇒ Object
- #set_re_breadcrumbs_right(*crumbs) ⇒ Object
- #set_re_javascript_include(javascript_include_or_array) ⇒ Object
Instance Method Details
#set_re_breadcrumbs(*crumbs) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/rules_engine_view/defer.rb', line 10 def (*crumbs) content_for :defer_re_breadcrumbs do if RulesEngineView::Config. (*([RulesEngineView::Config.] << crumbs).flatten) else (*crumbs) end end end |
#set_re_breadcrumbs_right(*crumbs) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/rules_engine_view/defer.rb', line 20 def (*crumbs) content_for :defer_re_breadcrumbs do if RulesEngineView::Config. (*([RulesEngineView::Config.] + crumbs).flatten) else (*crumbs) end end end |
#set_re_javascript_include(javascript_include_or_array) ⇒ Object
4 5 6 7 8 |
# File 'lib/rules_engine_view/defer.rb', line 4 def set_re_javascript_include(javascript_include_or_array) content_for :defer_re_javascript_include do javascript_include_tag(javascript_include_or_array) end end |