Class: Valkyrie::Persistence::Fedora::OrderedList::HeadSentinel

Inherits:
Sentinel
  • Object
show all
Defined in:
lib/valkyrie/persistence/fedora/ordered_list.rb

Instance Attribute Summary

Attributes inherited from Sentinel

#next, #parent, #prev

Instance Method Summary collapse

Methods inherited from Sentinel

#nil?, #rdf_subject

Constructor Details

#initialize(*args) ⇒ HeadSentinel

Returns a new instance of HeadSentinel.

Parameters:


161
162
163
164
# File 'lib/valkyrie/persistence/fedora/ordered_list.rb', line 161

def initialize(*args)
  super
  @next ||= TailSentinel.new(parent, prev_node: self)
end