Module: RuboCop::Cop::NilMethods

Includes:
AllowedMethods
Included in:
Lint::SafeNavigationChain, Lint::SafeNavigationConsistency, Style::SafeNavigation
Defined in:
lib/rubocop/cop/mixin/nil_methods.rb

Overview

This module provides a list of methods that are: 1. In the NilClass by default 2. Added to NilClass by explicitly requiring any standard libraries 3. Cop’s configuration parameter AllowedMethods.