# encoding: utf-8

module SQL

  # A mixin for node helpers
  module NodeHelper

    # Return new node
    #
    # @param [Symbol] type
    #
    # @return [AST::Node]
    #
    # @api private
    def s(type, *children)
      AST::Node.new(type, children)
    end

  end # NodeHelper
end # SQL

# encoding: utf-8

module SQL

  # A mixin for node helpers
  module NodeHelper

    # Return new node
    #
    # @param [Symbol] type
    #
    # @return [AST::Node]
    #
    # @api private
    def s(type, *children)
      AST::Node.new(type, children)
    end
    private :s

  end # NodeHelper
end # SQL

Change the s() method to be private
Change the s() method to be private

* This doesn't really need to be part of the public interface for
  any class that includes this module.
