Module: RuboCop::Cop::GemDeclaration

Extended by:
Macros
Included in:
Bundler::GemComment, Bundler::GemVersion
Defined in:
lib/rubocop/cop/mixin/gem_declaration.rb

Overview

Common functionality for checking gem declarations.

Instance Method Summary collapse

Instance Method Details

#gem_declaration?(node) ⇒ Object



10
# File 'lib/rubocop/cop/mixin/gem_declaration.rb', line 10

def_node_matcher :gem_declaration?, '(send nil? :gem str ...)'