class Racc::Grammar
def each_useless_rule
def each_useless_rule return to_enum __method__ unless block_given? each do |r| yield r if r.useless? end end
def each_useless_rule return to_enum __method__ unless block_given? each do |r| yield r if r.useless? end end