Module: Babl::Operators::Dep::DSL
- Included in:
- Template
- Defined in:
- lib/babl/operators/dep.rb
Instance Method Summary collapse
-
#dep(*path) ⇒ Object
Declare dependencies as if they were generated by nav() but without navigating.
Instance Method Details
#dep(*path) ⇒ Object
Declare dependencies as if they were generated by nav() but without navigating.
18 19 20 21 |
# File 'lib/babl/operators/dep.rb', line 18 def dep(*path) path = Dep.canonicalize(path) construct_node { |node| Nodes::Dep.new(node, path) }.reset_continue end |