Sha256: f685962be162b648d93beecfb087f39bd3ddd75f287b8404560a6e293596d7d9
Contents?: true
Size: 406 Bytes
Versions: 3
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true module RuboCop module RSpec # Helps check offenses with variable definitions module Variable include Language extend RuboCop::NodePattern::Macros def_node_matcher :variable_definition?, <<~PATTERN (send #{RSPEC} #{(Helpers::ALL + Subject::ALL).node_pattern_union} $({sym str dsym dstr} ...) ...) PATTERN end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rubocop-rspec-1.42.0 | lib/rubocop/rspec/variable.rb |
rubocop-rspec-1.41.0 | lib/rubocop/rspec/variable.rb |
rubocop-rspec-1.40.0 | lib/rubocop/rspec/variable.rb |