module I18n::Tasks::Command::DSL
Public Class Methods
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
Source
# File lib/i18n/tasks/command/dsl.rb, line 13 def t(*args, **kwargs) I18n.t(*args, **kwargs) end