Class: ModsDisplay::Note
Instance Method Summary collapse
Methods inherited from Field
#initialize, #label, #render_in, #to_html
Constructor Details
This class inherits a constructor from ModsDisplay::Field
Instance Method Details
#fields ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/mods_display/fields/note.rb', line 5 def fields return_fields = note_fields.map do |value| ModsDisplay::Values.new(label: displayLabel(value) || note_label(value), values: [element_text(value)], field: self) end collapse_fields(return_fields) end |