Class: PactBroker::DateHelper::Locale
- Inherits:
-
Object
- Object
- PactBroker::DateHelper::Locale
- Defined in:
- lib/pact_broker/date_helper.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Locale
constructor
A new instance of Locale.
- #t(path, options) ⇒ Object
Constructor Details
#initialize(options) ⇒ Locale
Returns a new instance of Locale.
13 14 15 |
# File 'lib/pact_broker/date_helper.rb', line 13 def initialize @options = end |
Instance Method Details
#t(path, options) ⇒ Object
17 18 19 |
# File 'lib/pact_broker/date_helper.rb', line 17 def t path, I18n.t path, @options.merge() end |