Class: Regexp
- Inherits:
-
Object
- Object
- Regexp
- Includes:
- Walrat::ParsletCombining
- Defined in:
- lib/walrat/additions/regexp.rb
Instance Method Summary collapse
-
#to_parseable ⇒ Object
Returns a RegexpParslet based on the receiver.
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_parseable ⇒ Object
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 |