Sha256: 8b4c0324292f5bd111d9f95af4c029bc85732d52634dcf5c433d97fe88f9d0c8
Contents?: true
Size: 427 Bytes
Versions: 258
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true module RuboCop module AST # A node extension for `irange` and `erange` nodes. This will be used in # place of a plain node when the builder constructs the AST, making its # methods available to all `irange` and `erange` nodes within RuboCop. class RangeNode < Node def begin node_parts[0] end def end node_parts[1] end end end end
Version data entries
258 entries across 232 versions & 29 rubygems