Class: Yutani::DSLEntity

Inherits:
Object
  • Object
show all
Defined in:
lib/yutani/dsl_entity.rb

Direct Known Subclasses

Mod, Provider, Resource

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#scopeObject

Returns the value of attribute scope.



3
4
5
# File 'lib/yutani/dsl_entity.rb', line 3

def scope
  @scope
end

Instance Method Details

#hiera(k) ⇒ Object



5
6
7
# File 'lib/yutani/dsl_entity.rb', line 5

def hiera(k)
  Yutani::Hiera.lookup(k, @scope)
end