Class: Valkyrie::Persistence::Fedora::OrderedList::TailSentinel
- Inherits:
-
Sentinel
- Object
- Sentinel
- Valkyrie::Persistence::Fedora::OrderedList::TailSentinel
- Defined in:
- lib/valkyrie/persistence/fedora/ordered_list.rb
Instance Attribute Summary
Attributes inherited from Sentinel
Instance Method Summary collapse
-
#initialize(*args, **kwargs) ⇒ TailSentinel
constructor
A new instance of TailSentinel.
Methods inherited from Sentinel
Constructor Details
#initialize(*args, **kwargs) ⇒ TailSentinel
Returns a new instance of TailSentinel.
169 170 171 172 |
# File 'lib/valkyrie/persistence/fedora/ordered_list.rb', line 169 def initialize(*args, **kwargs) super prev.next = self if prev&.next != self end |