Class: R10K::Action::Base
- Inherits:
-
Object
- Object
- R10K::Action::Base
- Includes:
- Logging, Util::Setopts
- Defined in:
- lib/r10k/action/base.rb
Direct Known Subclasses
Deploy::Display, Deploy::Environment, Deploy::Module, Puppetfile::Check, Puppetfile::Install, Puppetfile::Purge
Constant Summary
Constants included from Logging
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
-
#initialize(opts, argv, settings = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Logging
debug_formatter, default_formatter, default_outputter, #logger, #logger_name, parse_level
Constructor Details
#initialize(opts, argv, settings = {}) ⇒ Base
Returns a new instance of Base.
13 14 15 16 17 18 19 |
# File 'lib/r10k/action/base.rb', line 13 def initialize(opts, argv, settings = {}) @opts = opts @argv = argv @settings = settings setopts(opts, allowed_initialize_opts) end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
11 12 13 |
# File 'lib/r10k/action/base.rb', line 11 def settings @settings end |