Class: Gst::Structure

Inherits:
Object
  • Object
show all
Defined in:
lib/gst/structure.rb

Instance Method Summary collapse

Instance Method Details

#fieldsObject



19
20
21
22
23
24
25
26
# File 'lib/gst/structure.rb', line 19

def fields
  n_fields.times.collect do |i|
    field_name = nth_field_name(i)
    value = get_value(field_name)
    value.extend(ValueMethods)
    [field_name, value]
  end
end