Method: IIIFManifest::ManifestBuilder::SequenceBuilder#apply
- Defined in:
- lib/iiif_manifest/manifest_builder/sequence_builder.rb
#apply(manifest) ⇒ Object
11 12 13 14 15 |
# File 'lib/iiif_manifest/manifest_builder/sequence_builder.rb', line 11 def apply(manifest) # sequence.viewing_hint = manifest.viewing_hint manifest.sequences += [sequence] unless empty? manifest end |