Module: Hanami::CLI::Command::ClassMethods Private
- Defined in:
- lib/hanami/cli/command.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #arguments ⇒ Object readonly private
- #description ⇒ Object readonly private
- #examples ⇒ Object readonly private
- #options ⇒ Object readonly private
Class Method Summary collapse
- .extended(base) ⇒ Object private
Instance Attribute Details
#arguments ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
44 45 46 |
# File 'lib/hanami/cli/command.rb', line 44 def arguments @arguments end |
#description ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
36 37 38 |
# File 'lib/hanami/cli/command.rb', line 36 def description @description end |
#examples ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
40 41 42 |
# File 'lib/hanami/cli/command.rb', line 40 def examples @examples end |
#options ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
48 49 50 |
# File 'lib/hanami/cli/command.rb', line 48 def @options end |
Class Method Details
.extended(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/hanami/cli/command.rb', line 23 def self.extended(base) super base.class_eval do @description = nil @examples = Concurrent::Array.new @arguments = Concurrent::Array.new @options = Concurrent::Array.new end end |