class Construi::Config::Global
Attributes
yaml[R]
Public Class Methods
new(yaml)
click to toggle source
# File lib/construi/config.rb, line 153 def initialize(yaml) @yaml = yaml end
Public Instance Methods
target(target)
click to toggle source
# File lib/construi/config.rb, line 157 def target(target) targets = yaml['targets'] return nil if targets.nil? return Target.new yaml['targets'][target], self end