Module: OsCtld::Assets::Definition

Included in:
Container, Daemon, Group, Pool, Repository, User
Defined in:
lib/osctld/assets/definition.rb

Defined Under Namespace

Classes: Scope

Instance Method Summary collapse

Instance Method Details

#define_assets(&block) ⇒ Object



24
25
26
27
28
# File 'lib/osctld/assets/definition.rb', line 24

def define_assets(&block)
  scope = Scope.new
  block.call(scope)
  scope.assets
end