Method: Celerity::ElementCollection#first

Defined in:
lib/celerity/element_collection.rb

#firstCelerity::Element

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

Returns:



82
83
84
# File 'lib/celerity/element_collection.rb', line 82

def first
  self[Celerity.index_offset]
end