class String
TODO: Rewrite this “not DRY” code
Public Instance Methods
localize(options = {})
click to toggle source
# File lib/i18n/complements/core_extension.rb, line 9 def localize(options = {}) I18n.localize(self, options) end
Also aliased as: l
to_currency()
click to toggle source
# File lib/i18n/complements/core_extension.rb, line 14 def to_currency I18n.currencies(self) end
translate(options = {})
click to toggle source
# File lib/i18n/complements/core_extension.rb, line 4 def translate(options = {}) I18n.translate(self, options) end
Also aliased as: t