class Construi::Config::Target
Attributes
parent[R]
yaml[R]
Public Class Methods
new(yaml, parent)
click to toggle source
# File lib/construi/config.rb, line 172 def initialize(yaml, parent) @yaml = yaml @parent = parent end
Public Instance Methods
commands()
click to toggle source
# File lib/construi/config.rb, line 177 def commands Array(@yaml.is_a?(Hash) ? @yaml['run'] : @yaml) end