Sha256: cbb893ee858b9e79e45a7126f425a549880120e0bccdf44e81f2dc135d18e5ed
Contents?: true
Size: 658 Bytes
Versions: 69
Compression:
Stored size: 658 Bytes
Contents
# frozen_string_literal: true module Avm module Instances class Configuration < ::EacRubyUtils::Configs RUBOCOP_COMMAND_KEY = 'ruby.rubocop.command' RUBOCOP_GEMFILE_KEY = 'ruby.rubocop.gemfile' def rubocop_command read_command(RUBOCOP_COMMAND_KEY) end def rubocop_gemfile gemfile_path = read_entry(RUBOCOP_GEMFILE_KEY) return nil if gemfile_path.blank? gemfile_path = gemfile_path.to_pathname.expand_path(storage_path.parent) return gemfile_path if gemfile_path.file? raise "Gemfile path \"#{gemfile_path}\" does not exist or is not a file" end end end end
Version data entries
69 entries across 69 versions & 1 rubygems