Class: Dapp::Config::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dapp/config/base.rb

Overview

Base

Direct Known Subclasses

Dimg, DimgGroupBase, Directive::Base

Instance Method Summary collapse

Constructor Details

#initialize(project:, &blk) ⇒ Base

Returns a new instance of Base.



5
6
7
8
# File 'lib/dapp/config/base.rb', line 5

def initialize(project:, &blk)
  @project = project
  instance_eval(&blk) if block_given?
end