Class: Geoblacklight::MetadataComponent

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/geoblacklight/metadata_component.rb

Overview

Renders the available metadata views for a document.

Instance Method Summary collapse

Constructor Details

#initialize(document:) ⇒ MetadataComponent

Returns a new instance of MetadataComponent.



6
7
8
9
# File 'app/components/geoblacklight/metadata_component.rb', line 6

def initialize(document:)
  @document = document
  super()
end