Class: Valkyrie::Persistence::Fedora::OrderedList::HeadSentinel
- Inherits:
-
Sentinel
- Object
- Sentinel
- Valkyrie::Persistence::Fedora::OrderedList::HeadSentinel
- Defined in:
- lib/valkyrie/persistence/fedora/ordered_list.rb
Instance Attribute Summary
Attributes inherited from Sentinel
Instance Method Summary collapse
-
#initialize(*args, **kwargs) ⇒ HeadSentinel
constructor
A new instance of HeadSentinel.
Methods inherited from Sentinel
Constructor Details
#initialize(*args, **kwargs) ⇒ HeadSentinel
Returns a new instance of HeadSentinel.
159 160 161 162 |
# File 'lib/valkyrie/persistence/fedora/ordered_list.rb', line 159 def initialize(*args, **kwargs) super @next ||= TailSentinel.new(parent, prev_node: self) end |