Method: Racc::Rule#each_rule
- Defined in:
- lib/racc/grammar.rb
#each_rule {|_self| ... } ⇒ Object
636 637 638 639 |
# File 'lib/racc/grammar.rb', line 636 def each_rule(&block) yield self @alternatives.each(&block) end |
636 637 638 639 |
# File 'lib/racc/grammar.rb', line 636 def each_rule(&block) yield self @alternatives.each(&block) end |