Method: RuboCop::Cop::RSpec::ExampleLength#on_block

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

#on_block(node) ⇒ Object

rubocop:disable InternalAffairs/NumblockHandler



62
63
64
65
66
# File 'lib/rubocop/cop/rspec/example_length.rb', line 62

def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler
  return unless example?(node)

  check_code_length(node)
end