Class: I18n::Backend::LessSimple
- Inherits:
-
Simple
- Object
- Simple
- I18n::Backend::LessSimple
- Defined in:
- lib/less_simple.rb
Instance Attribute Summary collapse
-
#interpolation_defaults ⇒ Object
Returns the value of attribute interpolation_defaults.
Instance Method Summary collapse
Instance Attribute Details
#interpolation_defaults ⇒ Object
Returns the value of attribute interpolation_defaults.
7 8 9 |
# File 'lib/less_simple.rb', line 7 def interpolation_defaults @interpolation_defaults end |
Instance Method Details
#translate(locale, key, options = {}) ⇒ Object
9 10 11 12 |
# File 'lib/less_simple.rb', line 9 def translate(locale, key, = {}) = (interpolation_defaults || {}).merge super locale, key, end |