Class: Crowbar::Client::App::Base
- Inherits:
-
Thor
- Object
- Thor
- Crowbar::Client::App::Base
- Defined in:
- lib/crowbar/client/app/base.rb
Direct Known Subclasses
Barclamp, Batch, Entry, HostIP, Interface, Network, Node, Proposal, Repository, Reset, Role, VirtualIP
Instance Method Summary collapse
-
#initialize(args = [], local_options = {}, config = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(args = [], local_options = {}, config = {}) ⇒ Base
Returns a new instance of Base.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/crowbar/client/app/base.rb', line 24 def initialize(args = [], = {}, config = {}) super Config.configure( .slice( :config, :alias, :username, :password, :server, :timeout, :anonymous, :debug ) ) end |