module I18n::Tasks::Command::DSL

Public Class Methods

included(base) click to toggle source
# File lib/i18n/tasks/command/dsl.rb, line 6
def self.included(base)
  base.module_eval do
    @dsl = Hash.new { |h, k| h[k] = {} }
    extend ClassMethods
  end
end

Public Instance Methods

t(*args, **kwargs) click to toggle source
# File lib/i18n/tasks/command/dsl.rb, line 13
def t(*args, **kwargs)
  I18n.t(*args, **kwargs)
end