class AuxiliaryRails::Application::Command
@abstract
Public Class Methods
call(*args)
click to toggle source
Initializes command with args
and runs #call
method.
@return [self]
# File lib/auxiliary_rails/application/command.rb, line 34 def call(*args) new(*args).call end
i18n_scope()
click to toggle source
Defines `scope` for ActiveModel::Translation
@return [Symbol]
# File lib/auxiliary_rails/application/command.rb, line 41 def i18n_scope :commands end
Protected Instance Methods
arguments()
click to toggle source
Shortcut reader for attributes defined by Dry::Initializer
@return [Hash]
# File lib/auxiliary_rails/application/command.rb, line 51 def arguments self.class.dry_initializer.attributes(self) end