module LiberMeliorationum::EnumberableNumbered
──────────────────────────────────────────────────────────────────────────────
Public Instance Methods
first!()
click to toggle source
# File lib/liber-meliorationum.rb, line 121 def first! first.assert('Attempting to get first element of empty enumerable') end
last!()
click to toggle source
# File lib/liber-meliorationum.rb, line 127 def last! last.assert('Attempting to get last element of empty enumerable') end
second()
click to toggle source
# File lib/liber-meliorationum.rb, line 118 def second self[2] end
second!()
click to toggle source
# File lib/liber-meliorationum.rb, line 124 def second! second.assert('Attempting to get second element of empty enumerable') end