Method: RuboCop::Cop::RSpec::ContextMethod#context_method

Defined in:
lib/rubocop/cop/rspec/context_method.rb

#context_method(node) ⇒ Object

[View source]

33
34
35
36
37
38
39
# File 'lib/rubocop/cop/rspec/context_method.rb', line 33

def_node_matcher :context_method, "(block\n  (send #rspec? :context\n    ${(str #method_name?) (dstr (str #method_name?) ...)}\n  ...)\n...)\n"