Class: Regexp

Inherits:
Object
  • Object
show all
Includes:
Walrat::ParsletCombining
Defined in:
lib/walrat/additions/regexp.rb

Instance Method Summary collapse

Methods included from Walrat::ParsletCombining

#&, #>>, #and?, #and_predicate, #choice, #memoizing_parse, #merge, #not!, #not_predicate, #omission, #one_or_more, #optional, #parse, #repeat, #repeat_with_default, #repetition, #repetition_with_default, #sequence, #skip, #zero_or_more, #zero_or_one, #|

Instance Method Details

#to_parseableObject

Returns a RegexpParslet based on the receiver



30
31
32
# File 'lib/walrat/additions/regexp.rb', line 30

def to_parseable
  Walrat::RegexpParslet.new self
end