Module: LiquidRenderer::Controller::ClassMethods
- Defined in:
- lib/liquid_renderer/controller.rb
Instance Method Summary collapse
- #liquid_filter(*args) ⇒ Object
- #liquid_filters ⇒ Object
- #liquid_register(extra_register_method) ⇒ Object
- #liquid_registers ⇒ Object
Instance Method Details
#liquid_filter(*args) ⇒ Object
17 18 19 20 21 |
# File 'lib/liquid_renderer/controller.rb', line 17 def liquid_filter(*args) modules_for_liquid_filters(args).each do |mod| add_liquid_template_filter(mod) end end |
#liquid_filters ⇒ Object
23 24 25 |
# File 'lib/liquid_renderer/controller.rb', line 23 def liquid_filters _liquid_filters end |
#liquid_register(extra_register_method) ⇒ Object
27 28 29 |
# File 'lib/liquid_renderer/controller.rb', line 27 def liquid_register(extra_register_method) _liquid_registers << extra_register_method end |
#liquid_registers ⇒ Object
31 32 33 |
# File 'lib/liquid_renderer/controller.rb', line 31 def liquid_registers _liquid_registers end |