Sha256: eed7191f19e4753dbd4a287c5e0ab030b8a0bba2629ce3dbe84e3a226fda27c0

Contents?: true

Size: 440 Bytes

Versions: 2

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/old_configs'

module Avm
  class << self
    attr_reader :configs_storage_path

    def configs
      @configs ||= ::EacCli::OldConfigs.new('avm-tools', configs_options)
    end

    def configs_options
      configs_storage_path.if_present({}) { |v| { storage_path: v } }
    end

    def configs_storage_path=(path)
      @configs_storage_path = path
      @configs = nil
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
avm-tools-0.99.1 lib/avm/configs.rb
avm-tools-0.99.0 lib/avm/configs.rb