Module: Card::Set::All::I18n::Format

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod002-core/all/i18n.rb

Instance Method Summary collapse

Instance Method Details

#tr(key, args = {}) ⇒ Object



14
15
16
17
# File 'card/tmpsets/set/mod002-core/all/i18n.rb', line 14

def tr key, args={}
  args[:scope] ||= Card::Set.scope(caller)
  ::I18n.t key, args
end