Class: Geoblacklight::Document::RelationsContainerComponent
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Geoblacklight::Document::RelationsContainerComponent
- Defined in:
- app/components/geoblacklight/document/relations_container_component.rb
Instance Attribute Summary collapse
-
#document ⇒ Object
readonly
Returns the value of attribute document.
Instance Method Summary collapse
-
#initialize(document:) ⇒ RelationsContainerComponent
constructor
A new instance of RelationsContainerComponent.
Constructor Details
#initialize(document:) ⇒ RelationsContainerComponent
Returns a new instance of RelationsContainerComponent.
4 5 6 7 |
# File 'app/components/geoblacklight/document/relations_container_component.rb', line 4 def initialize(document:) super() @document = document end |
Instance Attribute Details
#document ⇒ Object (readonly)
Returns the value of attribute document.
9 10 11 |
# File 'app/components/geoblacklight/document/relations_container_component.rb', line 9 def document @document end |