Module: Avm::EacRubyBase1::Sources::Base::Rubocop

Defined in:
lib/avm/eac_ruby_base1/sources/base/rubocop.rb

Constant Summary collapse

RUBOCOP_CONFIG_SUBPATH =
'.rubocop.yml'

Instance Method Summary collapse

Instance Method Details

#rubocop_commandAvm::EacRubyBase1::Sources::Base::RubocopCommand



16
17
18
# File 'lib/avm/eac_ruby_base1/sources/base/rubocop.rb', line 16

def rubocop_command
  ::Avm::EacRubyBase1::Sources::Base::RubocopCommand.new(self)
end

#rubocop_config_pathPathname

Returns:

  • (Pathname)


21
22
23
# File 'lib/avm/eac_ruby_base1/sources/base/rubocop.rb', line 21

def rubocop_config_path
  path.join(RUBOCOP_CONFIG_SUBPATH)
end