module AttrEffective
Constants
- VERSION
Public Instance Methods
i18n_default(attr, opts = {})
click to toggle source
# File lib/attr_effective.rb, line 12 def i18n_default(attr, opts = {}) I18n.t(self.class.i18n_default_path(attr), opts) end
i18n_default_path(attr)
click to toggle source
# File lib/attr_effective.rb, line 8 def i18n_default_path(attr) self.class.i18n_default_path(attr) end