Sha256: 3a6762f81923540c8cf647459bfdaf0105da4f07693be6719e5a1a9b87ee0168
Contents?: true
Size: 317 Bytes
Versions: 5
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop # Common functionality for handling Regexp literals. module RegexpLiteralHelp private def freespace_mode_regexp?(node) regopt = node.children.find(&:regopt_type?) regopt.children.include?(:x) end end end end
Version data entries
5 entries across 5 versions & 3 rubygems