Class: I18n::Backend::LessSimple

Inherits:
Simple
  • Object
show all
Defined in:
lib/less_simple.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#interpolation_defaultsObject

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, options = {})
  options = (interpolation_defaults || {}).merge options
  super locale, key, options
end