Sha256: 35fbb607c33e64334cfa4a36b62738f8518b27d44e430983903a5df273d356a8

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

require 'logger'
module Sym
  module Constants
    module Completion
      FILE = '.sym.completion'.freeze
      PATH = "#{ENV['HOME']}/#{FILE}".freeze
      Config = {
        file:   File.expand_path('../../../bin/sym.completion', __FILE__),
        script: "[[ -f '#{PATH}' ]] && source '#{PATH}'",
      }.freeze

    end

    module Log
      NIL = Logger.new(nil).freeze # empty logger
      LOG = Logger.new(STDERR).freeze
    end

    ENV_ARGS_VARIABLE_NAME = 'SYM_ARGS'.freeze
    SYM_KEY_FILE = "#{ENV['HOME']}/.sym.key"
  end
end


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sym-2.5.0 lib/sym/constants.rb
sym-2.4.3 lib/sym/constants.rb