Sha256: cbbd00f0b5026fc667b70f25e640c1e308a1b3f1415156d9c0588dbf49715749
Contents?: true
Size: 351 Bytes
Versions: 13
Compression:
Stored size: 351 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module RuboCop # This module provides a shorthand method to create a {Node} like `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
Version data entries
13 entries across 13 versions & 2 rubygems