Module: RuboCop::RSpec::Language::HookScopes

Defined in:
lib/rubocop/rspec/language.rb

Overview

:nodoc:

Constant Summary collapse

ALL =
%i[each example context all suite].freeze

Class Method Summary collapse

Class Method Details

.all(element) ⇒ Object



148
149
150
# File 'lib/rubocop/rspec/language.rb', line 148

def self.all(element)
  ALL.include?(element)
end