Module: Liquid::Tag::Disabler
- Defined in:
- lib/liquid/tag/disabler.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.prepended(base) ⇒ Object
10 11 12 |
# File 'lib/liquid/tag/disabler.rb', line 10 def self.prepended(base) base.extend(ClassMethods) end |
Instance Method Details
#render_to_output_buffer(context, output) ⇒ Object
14 15 16 17 18 |
# File 'lib/liquid/tag/disabler.rb', line 14 def render_to_output_buffer(context, output) context.(self.class.) do super end end |