Eno::Section » #fieldsets

fieldsets(name) → array

Retrieve fieldsets with the specified name from this current section.

enoimage:
src = red-roses.jpg

image:
src = white-roses.jpg
rubydocument = Eno.parse(input)

images = document.fieldsets('image')

images.each do |image|
  puts image.entry('src')
end

Parameters

name

A string specifying the name of the fieldsets to retrieve.

Return value

An array of Eno::Fieldsets.