Class: ManaMana::RDSL::RootNode
- Inherits:
-
Node
- Object
- Node
- ManaMana::RDSL::RootNode
show all
- Defined in:
- lib/manamana/rdsl/nodes.rb
Instance Attribute Summary
Attributes inherited from Node
#children, #name
Instance Method Summary
collapse
Methods inherited from Node
#==, #initialize
Instance Method Details
#all_requirements ⇒ Object
32
33
34
|
# File 'lib/manamana/rdsl/nodes.rb', line 32
def all_requirements
groups.map{ |g| g.requirements }.flatten.map{ |r| r.expand }.flatten
end
|
#groups ⇒ Object
36
37
38
|
# File 'lib/manamana/rdsl/nodes.rb', line 36
def groups
children
end
|