class

OpenGLBindingGenerator::GroupRepository(T)

Inherits OpenGLBindingGenerator::Repository < Enumerable < Reference < Object

Constructors

Instance methods

[](name)
Source
[]?(name)
Source
add(item, group : String)
Source
add(item, group : Nil)
Source
each

Must yield this collection's elements to the block.

Source
each_group
Source
each_group_item
Source
groups
Source
has?(name)
Source
remove(name)
Source
size

Returns the number of elements in the collection.

[1, 2, 3, 4].size # => 4
Source
to_h

Creates a Hash out of an Enumerable where each element is a 2 element structure (for instance a Tuple or an Array).

[[:a, :b], [:c, :d]].to_h        # => {:a => :b, :c => :d}
Tuple.new({:a, 1}, {:c, 2}).to_h # => {:a => 1, :c => 2}
Source