Sha256: b79bd6f404c133ab8387261cdba108687a8e6e6ec37f039da7e487c786034ec6
Contents?: true
Size: 318 Bytes
Versions: 177
Compression:
Stored size: 318 Bytes
Contents
# frozen_string_literal: true module RuboCop module Ext # Extensions to Parser::Source::Range module Range # Adds `Range#single_line?` to parallel `Node#single_line?` def single_line? first_line == last_line end end end end Parser::Source::Range.include RuboCop::Ext::Range
Version data entries
177 entries across 172 versions & 17 rubygems