lib/sql/fuzzer.rb
def each
      return to_enum unless block_given?
      # TODO: yield 0 or more mutated AST objects
      yield @ast
      self
    end
# Iterate over each ast in the set
#
# @example
#   fuzzer = SQL::Fuzzer.new(ast)
#   fuzzer.each { |ast| ... }
#
# @yield [ast]
#
# @yieldparam [SQL::AST::Node] ast
#   each ast in the set
#
# @return [self]
#
# @api public
Iterate over each ast in the set
Iterate over each ast in the set
def each
      return to_enum unless block_given?
      yield @ast
      self
    end
def each return to_enum unless block_given? yield @ast self end
Iterate over each ast in the set
Iterate over each ast in the set
# TODO: yield 0 or more mutated AST objects
None
self
]
None
ast each ast in the set
ast each ast in the set
example
fuzzer = SQL::Fuzzer.new(ast) fuzzer.each { |ast| ...
fuzzer = SQL :: Fuzzer . new ( ast ) fuzzer . each { |ast| ...
api
None