Class: Proc
- Inherits:
-
Object
- Object
- Proc
- Includes:
- Walrus::Grammar::ParsletCombining
- Defined in:
- lib/walrus/grammar/additions/proc.rb
Instance Method Summary collapse
-
#to_parseable ⇒ Object
Returns a ProcParslet based on the receiver.
Methods included from Walrus::Grammar::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
16 17 18 |
# File 'lib/walrus/grammar/additions/proc.rb', line 16 def to_parseable Walrus::Grammar::ProcParslet.new(self) end |