Class: IIIFManifest::ManifestRange
- Inherits:
-
Object
- Object
- IIIFManifest::ManifestRange
- Defined in:
- lib/iiif_manifest/manifest_range.rb
Instance Attribute Summary collapse
-
#file_set_presenters ⇒ Object
readonly
Returns the value of attribute file_set_presenters.
-
#label ⇒ Object
readonly
Returns the value of attribute label.
-
#ranges ⇒ Object
readonly
Returns the value of attribute ranges.
Instance Method Summary collapse
-
#initialize(label:, ranges: [], file_set_presenters: []) ⇒ ManifestRange
constructor
A new instance of ManifestRange.
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_presenters ⇒ Object (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 |
#label ⇒ Object (readonly)
Returns the value of attribute label.
3 4 5 |
# File 'lib/iiif_manifest/manifest_range.rb', line 3 def label @label end |
#ranges ⇒ Object (readonly)
Returns the value of attribute ranges.
3 4 5 |
# File 'lib/iiif_manifest/manifest_range.rb', line 3 def ranges @ranges end |