Class: ConvenientService::Config::Commands::NormalizeOptions
- Inherits:
-
Support::Command
- Object
- Support::Command
- ConvenientService::Config::Commands::NormalizeOptions
- Defined in:
- lib/convenient_service/config/commands/normalize_options.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #call ⇒ ConvenientService::Config::Entities::OptionCollection
- #initialize(options:) ⇒ void constructor
Methods inherited from Support::Command
Constructor Details
#initialize(options:) ⇒ void
22 23 24 |
# File 'lib/convenient_service/config/commands/normalize_options.rb', line 22 def initialize(options:) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
16 17 18 |
# File 'lib/convenient_service/config/commands/normalize_options.rb', line 16 def @options end |
Instance Method Details
#call ⇒ ConvenientService::Config::Entities::OptionCollection
29 30 31 |
# File 'lib/convenient_service/config/commands/normalize_options.rb', line 29 def call Entities::OptionCollection.new(options: ) end |