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



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

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