class

Pipewire::SPA::Dict

Inherits Indexable < Enumerable < Iterable < Enumerable < Pipewire::Base < Reference < Object

Constructors

new(pointer : Pointer(LibSPA::Dict))
Source

Instance methods

each

Calls the given block once for each element in self, passing that element as a parameter.

a = ["a", "b", "c"]
a.each { |x| print x, " -- " }

produces:

a -- b -- c --
Source
size

Returns the number of elements in this container.

Source
unsafe_fetch(index)
Source