Class: IiifPrint::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/iiif_print.rb

Overview

Hash is an arbitrary attribute key/value pairs Struct is a defined set of attribute “keys”. When we favor defined values, then we are naming the concept and defining the range of potential values.

Instance Attribute Summary collapse

Instance Attribute Details

#labelObject

Returns the value of attribute label



211
212
213
# File 'lib/iiif_print.rb', line 211

def label
  @label
end

#nameObject

Returns the value of attribute name



211
212
213
# File 'lib/iiif_print.rb', line 211

def name
  @name
end

#optionsObject

Returns the value of attribute options



211
212
213
# File 'lib/iiif_print.rb', line 211

def options
  @options
end