Class: SFRP::Mono::DSL::NodeDepProxy
- Inherits:
-
Object
- Object
- SFRP::Mono::DSL::NodeDepProxy
- Defined in:
- lib/sfrp/mono/dsl.rb
Instance Method Summary collapse
- #c(node_str) ⇒ Object
-
#initialize ⇒ NodeDepProxy
constructor
A new instance of NodeDepProxy.
- #l(node_str) ⇒ Object
- #to_a ⇒ Object
Constructor Details
#initialize ⇒ NodeDepProxy
Returns a new instance of NodeDepProxy.
58 59 60 |
# File 'lib/sfrp/mono/dsl.rb', line 58 def initialize @node_refs = [] end |
Instance Method Details
#c(node_str) ⇒ Object
66 67 68 |
# File 'lib/sfrp/mono/dsl.rb', line 66 def c(node_str) @node_refs << Node::NodeRef.new(node_str, false) end |
#l(node_str) ⇒ Object
62 63 64 |
# File 'lib/sfrp/mono/dsl.rb', line 62 def l(node_str) @node_refs << Node::NodeRef.new(node_str, true) end |
#to_a ⇒ Object
70 71 72 |
# File 'lib/sfrp/mono/dsl.rb', line 70 def to_a @node_refs end |