Module: Avm::EacRubyBase1::Rubocop::Runner::Configured
- Defined in:
- lib/avm/eac_ruby_base1/rubocop/runner/configured.rb
Instance Method Summary collapse
- #configured_rubocop_command_by_command ⇒ Object
- #configured_rubocop_command_by_gemfile ⇒ Object
- #configured_rubocop_command_uncached ⇒ Object
Instance Method Details
#configured_rubocop_command_by_command ⇒ Object
12 13 14 |
# File 'lib/avm/eac_ruby_base1/rubocop/runner/configured.rb', line 12 def configured_rubocop_command_by_command configuration.if_present(&:rubocop_command) end |
#configured_rubocop_command_by_gemfile ⇒ Object
16 17 18 19 20 |
# File 'lib/avm/eac_ruby_base1/rubocop/runner/configured.rb', line 16 def configured_rubocop_command_by_gemfile configuration.if_present(&:rubocop_gemfile).if_present do |v| rubocop_command_by_gemfile_path(v.parent) end end |
#configured_rubocop_command_uncached ⇒ Object
8 9 10 |
# File 'lib/avm/eac_ruby_base1/rubocop/runner/configured.rb', line 8 def configured_rubocop_command_uncached configured_rubocop_command_by_command || configured_rubocop_command_by_gemfile end |