class Sequence::Indexed
Public Class Methods
new(data,p=0)
click to toggle source
# File lib/sequence/indexed.rb, line 17 def new(data,p=0) if data.respond_to? :to_sequence data.to_sequence else _orig_new(data,p) end end
Also aliased as: _orig_new
new(data,pos=0)
click to toggle source
# File lib/sequence/indexed.rb, line 25 def initialize(data,pos=0) @data = data @pos = pos end