Method: Celerity::ElementCollection#last

Defined in:
lib/celerity/element_collection.rb

#lastCelerity::Element

Get the last element in this collection. (Celerity-specific)

Returns:



92
93
94
# File 'lib/celerity/element_collection.rb', line 92

def last
  self[Celerity.index_offset - 1]
end