Class: ActiveFedora::Orders::OrderedList::HeadSentinel

Inherits:
Sentinel
  • Object
show all
Defined in:
lib/active_fedora/orders/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, **kwargs) ⇒ HeadSentinel

Returns a new instance of HeadSentinel.



248
249
250
251
# File 'lib/active_fedora/orders/ordered_list.rb', line 248

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