module RuboCop::Cop::GemspecHelp
Common functionality for checking gem declarations.
Public Instance Methods
Source
# File lib/rubocop/cop/mixin/gemspec_help.rb, line 45 def match_block_variable_name?(receiver_name) gem_specification(processed_source.ast) do |block_variable_name| return block_variable_name == receiver_name end end