Module: Nesta::Overrides::Renderers
- Defined in:
- lib/nesta/overrides.rb
Instance Method Summary collapse
- #haml(template, options = {}, locals = {}) ⇒ Object
- #sass(template, options = {}, locals = {}) ⇒ Object
- #scss(template, options = {}, locals = {}) ⇒ Object
Instance Method Details
#haml(template, options = {}, locals = {}) ⇒ Object
4 5 6 7 |
# File 'lib/nesta/overrides.rb', line 4 def haml(template, = {}, locals = {}) defaults = Overrides.(template, :haml) super(template, defaults.merge(), locals) end |
#sass(template, options = {}, locals = {}) ⇒ Object
14 15 16 17 |
# File 'lib/nesta/overrides.rb', line 14 def sass(template, = {}, locals = {}) defaults = Overrides.(template, :sass) super(template, defaults.merge(), locals) end |
#scss(template, options = {}, locals = {}) ⇒ Object
9 10 11 12 |
# File 'lib/nesta/overrides.rb', line 9 def scss(template, = {}, locals = {}) defaults = Overrides.(template, :scss) super(template, defaults.merge(), locals) end |