lib/unparser/ast/local_variable_scope.rb
def local_variable_defined_for_node?(node, name)
        match(node) do |current|
          current.include?(name)
        end
      end
# Test if local variable is defined for given node
#
# @param [Parser::AST::Node] node
# @param [Symbol] name
#
# @return [Boolean]
#
# @api private
#
Test if local variable is defined for given node
Test if local variable is defined for given node
def local_variable_defined_for_node?(node, name)
        match(node) do |current|
          current.include?(name)
        end
      end
def local_variable_defined_for_node? ( node , name ) match ( node ) do | current | current . include? ( name ) end end
Test if local variable is defined for given node
Test if local variable is defined for given node
None
Boolean
node
name
None
api
None