Sha256: 06ebc34df954827e42ebb94fb6e1d5f0cc327e84afa53de35bd0886e7a7b252d
Contents?: true
Size: 384 Bytes
Versions: 29
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # This module provides a shorthand method to create a {Node} like # `Parser::AST::Sexp`. # # @see http://rubydoc.info/gems/ast/AST/Sexp module Sexp # Creates a {Node} with type `type` and children `children`. def s(type, *children) Node.new(type, children) end end end end
Version data entries
29 entries across 27 versions & 3 rubygems