class PactBroker::DateHelper::Locale

Public Class Methods

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

Public Instance Methods

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