Module: Avm::EacRubyBase1::Rubocop::Configured
- Defined in:
- lib/avm/eac_ruby_base1/rubocop/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
11 12 13 |
# File 'lib/avm/eac_ruby_base1/rubocop/configured.rb', line 11 def configured_rubocop_command_by_command configuration.if_present(&:rubocop_command) end |
#configured_rubocop_command_by_gemfile ⇒ Object
15 16 17 18 19 |
# File 'lib/avm/eac_ruby_base1/rubocop/configured.rb', line 15 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
7 8 9 |
# File 'lib/avm/eac_ruby_base1/rubocop/configured.rb', line 7 def configured_rubocop_command_uncached configured_rubocop_command_by_command || configured_rubocop_command_by_gemfile end |