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