Class: Tensai::Pddl::NamedList
- Inherits:
-
Object
- Object
- Tensai::Pddl::NamedList
- Extended by:
- Forwardable
- Includes:
- Enumerable
- Defined in:
- lib/tensai/pddl/data_structures.rb
Overview
Typed collection of named elements
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(type, elements) ⇒ NamedList
constructor
A new instance of NamedList.
Constructor Details
Instance Method Details
#each ⇒ Object
26 27 28 |
# File 'lib/tensai/pddl/data_structures.rb', line 26 def each elements.values.each { |el| yield el } end |