class PactBroker::DateHelper::Locale

Public Class Methods

new(options) click to toggle source
# File lib/pact_broker/date_helper.rb, line 12
def initialize options
  @options = options
end

Public Instance Methods

t(path, options) click to toggle source
# File lib/pact_broker/date_helper.rb, line 16
def t path, options
  I18n.t(path, **@options.merge(options))
end