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

Returns:

  • (Object)

    the current value of label



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

def label
  @label
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



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

def options
  @options
end