Sha256: 5499591504c021a90723441bc14193962443376eeae8de03f4d1576708c8bdad
Contents?: true
Size: 462 Bytes
Versions: 108
Compression:
Stored size: 462 Bytes
Contents
module Regexp::Expression # abstract class class SequenceOperation < Regexp::Expression::Subexpression alias :sequences :expressions alias :operands :expressions alias :operator :text def ts (head = expressions.first) ? head.ts : @ts end def <<(exp) expressions.last << exp end def add_sequence(active_opts = {}, params = { ts: 0 }) self.class::OPERAND.add_to(self, params, active_opts) end end end
Version data entries
108 entries across 108 versions & 14 rubygems