Class: FireEagle::Locations
- Inherits:
-
Object
- Object
- FireEagle::Locations
- Includes:
- Enumerable, HappyMapper
- Defined in:
- lib/fireeagle/locations.rb
Instance Method Summary collapse
- #[](*args) ⇒ Object (also: #slice)
- #each(&block) ⇒ Object
- #first ⇒ Object
- #last ⇒ Object
- #length ⇒ Object (also: #size)
Instance Method Details
#[](*args) ⇒ Object Also known as: slice
12 13 14 |
# File 'lib/fireeagle/locations.rb', line 12 def [](*args) locations[*args] end |
#each(&block) ⇒ Object
18 19 20 |
# File 'lib/fireeagle/locations.rb', line 18 def each(&block) locations.each(&block) end |
#first ⇒ Object
22 23 24 |
# File 'lib/fireeagle/locations.rb', line 22 def first locations.first end |
#last ⇒ Object
26 27 28 |
# File 'lib/fireeagle/locations.rb', line 26 def last locations.last end |
#length ⇒ Object Also known as: size
30 31 32 |
# File 'lib/fireeagle/locations.rb', line 30 def length locations.length end |