Module: DrymlFireMarker::SharedOverrides
- Included in:
- Dryml, DrymlRootModule
- Defined in:
- lib/dryml-firemarker-shared-overrides.rb
Instance Method Summary collapse
Instance Method Details
#compile_renderer_class_with_firemarker(*args) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/dryml-firemarker-shared-overrides.rb', line 4 def compile_renderer_class_with_firemarker(*args) taglibs = args.pop taglibs << {:plugin => 'dryml-firemarker'} args.push(taglibs) compile_renderer_class_without_firemarker(*args) end |
#included(base) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/dryml-firemarker-shared-overrides.rb', line 11 def included(base) base.class_eval do alias_method_chain :compile_renderer_class, :firemarker private :compile_renderer_class_with_firemarker, :compile_renderer_class_without_firemarker end end |