Module: Construi::Config::Links
- Included in:
- BuildEnvironment
- Defined in:
- lib/construi/config.rb
Defined Under Namespace
Classes: Link
Instance Method Summary collapse
Instance Method Details
#links ⇒ Object
128 129 130 131 132 133 134 135 136 |
# File 'lib/construi/config.rb', line 128 def links parent = with_parent({}, &:links) child = get(:links, {}).each_with_object({}) do |(k, v), ls| ls[k] = Link.new k, v end parent.merge child end |