Module: Dapp::Deployment::Config::Config

Includes:
Directive::Mod::Group
Defined in:
lib/dapp/deployment/config/config.rb

Instance Method Summary collapse

Methods included from Directive::Mod::Group

#_app

Instance Method Details

#_deploymentObject



11
12
13
# File 'lib/dapp/deployment/config/config.rb', line 11

def _deployment
  @_deployment ||= Directive::Deployment.new(dapp: dapp).tap { |group| @_group << group }
end

#deployment(&blk) ⇒ Object



7
8
9
# File 'lib/dapp/deployment/config/config.rb', line 7

def deployment(&blk)
  directive_eval(_deployment, &blk)
end