Module: Rupture::ArraySeqable

Included in:
Array, String
Defined in:
lib/rupture/array_seq.rb

Instance Method Summary collapse

Instance Method Details

#not_emptyObject



52
53
54
# File 'lib/rupture/array_seq.rb', line 52

def not_empty
  self if seq
end

#rseqObject



48
49
50
# File 'lib/rupture/array_seq.rb', line 48

def rseq
  Rupture::RArraySeq.new(self).seq
end

#seqObject



44
45
46
# File 'lib/rupture/array_seq.rb', line 44

def seq
  Rupture::ArraySeq.new(self).seq
end