Module: ErbHiera::Directory

Defined in:
lib/erb-hiera/directory.rb

Defined Under Namespace

Modules: Match

Class Method Summary collapse

Class Method Details

.binObject



3
4
5
# File 'lib/erb-hiera/directory.rb', line 3

def self.bin
  File.dirname(__FILE__)
end

.output(manifest) ⇒ Object



11
12
13
# File 'lib/erb-hiera/directory.rb', line 11

def self.output(manifest)
  Match.path(manifest, /manifest\/(.*)/)
end

.rootObject



7
8
9
# File 'lib/erb-hiera/directory.rb', line 7

def self.root
  File.join(bin, "..")
end