Module: Enumerable

Included in:
Sequel::Dataset, Sequel::Model
Defined in:
lib/ruby_extensions.rb

Instance Method Summary collapse

Instance Method Details

#fourthObject



10
11
12
# File 'lib/ruby_extensions.rb', line 10

def fourth
  self[3]
end

#secondObject



2
3
4
# File 'lib/ruby_extensions.rb', line 2

def second
  self[1]
end

#thirdObject



6
7
8
# File 'lib/ruby_extensions.rb', line 6

def third
  self[2]
end