Class: Proc
- Inherits:
-
Object
- Object
- Proc
- Includes:
- Walrat::ParsletCombining
- Defined in:
- lib/walrat/additions/proc.rb
Instance Method Summary collapse
-
#to_parseable ⇒ Object
Returns a ProcParslet 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 ProcParslet based on the receiver
29 30 31 |
# File 'lib/walrat/additions/proc.rb', line 29 def to_parseable Walrat::ProcParslet.new self end |