Class: Dapp::Config::Directive::Base
- Inherits:
-
Object
- Object
- Dapp::Config::Directive::Base
- Defined in:
- lib/dapp/config/directive/base.rb
Direct Known Subclasses
Config, Deployment::Config::Directive::Base, Dimg::Config::Directive::Base
Instance Method Summary collapse
- #clone ⇒ Object
-
#initialize(dapp:, &blk) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(dapp:, &blk) ⇒ Base
Returns a new instance of Base.
5 6 7 8 9 |
# File 'lib/dapp/config/directive/base.rb', line 5 def initialize(dapp:, &blk) @dapp = dapp initialize_variables instance_eval(&blk) if block_given? end |
Instance Method Details
#clone ⇒ Object
11 12 13 |
# File 'lib/dapp/config/directive/base.rb', line 11 def clone _clone end |