Class: ActiveFedora::Orders::OrderedList::TailSentinel
- Defined in:
- lib/active_fedora/orders/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.
255 256 257 258 |
# File 'lib/active_fedora/orders/ordered_list.rb', line 255 def initialize(*args, **kwargs) super prev.next = self if prev && prev.next != self end |