Module: EasyCommand::ClassMethods
- Defined in:
- lib/easy_command.rb,
lib/easy_command/ruby-2-specific.rb,
lib/easy_command/ruby-3-specific.rb,
lib/easy_command/ruby-2-7-specific.rb
Instance Attribute Summary collapse
-
#i18n_scope ⇒ Object
Returns the value of attribute i18n_scope.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#i18n_scope ⇒ Object
Returns the value of attribute i18n_scope.
45 46 47 |
# File 'lib/easy_command.rb', line 45 def i18n_scope @i18n_scope end |
Class Method Details
.extended(base) ⇒ Object
42 43 44 |
# File 'lib/easy_command.rb', line 42 def self.extended(base) base.i18n_scope = "errors.messages" end |
Instance Method Details
#call(*args, **kwargs) ⇒ Object
16 17 18 |
# File 'lib/easy_command/ruby-2-specific.rb', line 16 def call(*args) new(*args).call end |