Class: GEXF::SetOfSets
- Inherits:
-
Set
- Object
- Set
- GEXF::SetOfSets
show all
- Extended by:
- Forwardable
- Includes:
- Attribute::Definable
- Defined in:
- lib/gexf/set_of_sets.rb
Instance Method Summary
collapse
#attribute_definitions, #attributes, #define_attribute
Instance Method Details
#[](node_id) ⇒ Object
7
8
9
|
# File 'lib/gexf/set_of_sets.rb', line 7
def [](node_id)
@hash[node_id]
end
|
#each(&block) ⇒ Object
19
20
21
|
# File 'lib/gexf/set_of_sets.rb', line 19
def each(&block)
uniq_items.each(&block)
end
|
#to_a ⇒ Object
11
12
13
|
# File 'lib/gexf/set_of_sets.rb', line 11
def to_a
uniq_items
end
|
#to_hash ⇒ Object
15
16
17
|
# File 'lib/gexf/set_of_sets.rb', line 15
def to_hash
@hash
end
|