123456789_123456789_123456789_123456789_123456789_

Module: RuboCop::Cop::GemDeclaration

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Macros
Defined in: lib/rubocop/cop/mixin/gem_declaration.rb

Overview

Common functionality for checking gem declarations.

Instance Method Summary

Instance Method Details

#gem_declaration?(node)

[ GitHub ]

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

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