Class: IIIFManifest::ManifestRange

Inherits:
Object
  • Object
show all
Defined in:
lib/iiif_manifest/manifest_range.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(label:, ranges: [], file_set_presenters: []) ⇒ ManifestRange

Returns a new instance of ManifestRange.



5
6
7
8
9
# File 'lib/iiif_manifest/manifest_range.rb', line 5

def initialize(label:, ranges: [], file_set_presenters: [])
  @label = label
  @ranges = ranges
  @file_set_presenters = file_set_presenters
end

Instance Attribute Details

#file_set_presentersObject (readonly)

Returns the value of attribute file_set_presenters.



3
4
5
# File 'lib/iiif_manifest/manifest_range.rb', line 3

def file_set_presenters
  @file_set_presenters
end

#labelObject (readonly)

Returns the value of attribute label.



3
4
5
# File 'lib/iiif_manifest/manifest_range.rb', line 3

def label
  @label
end

#rangesObject (readonly)

Returns the value of attribute ranges.



3
4
5
# File 'lib/iiif_manifest/manifest_range.rb', line 3

def ranges
  @ranges
end