Class: Geoblacklight::MetadataComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Geoblacklight::MetadataComponent
- Defined in:
- app/components/geoblacklight/metadata_component.rb
Overview
Renders the available metadata views for a document.
Instance Method Summary collapse
-
#initialize(document:) ⇒ MetadataComponent
constructor
A new instance of MetadataComponent.
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 |