Sha256: 54f845e7587ca8de1e06207ab2e058ab0935a2e3c69640c3f32f8acb790a3a54
Contents?: true
Size: 670 Bytes
Versions: 1
Compression:
Stored size: 670 Bytes
Contents
# frozen_string_literal: true require 'logger' module Xezat ROOT_DIR = File.expand_path(File.join(File.dirname(__FILE__), '..')) DATA_DIR = File.expand_path(File.join(ROOT_DIR, 'share', 'xezat')) REPOSITORY_DIR = File.expand_path(File.join(DATA_DIR, 'repository')) TEMPLATE_DIR = File.expand_path(File.join(DATA_DIR, 'template')) CONFIG_FILE = File.expand_path(File.join(Dir.home, '.xezat', 'config.yml')) class << self attr_accessor :logger end Xezat.logger = Logger.new(STDOUT) Xezat.logger.formatter = proc { |_severity, datetime, _progname, message| "#{datetime}: #{message}\n" } class CygportProcessError < StandardError end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xezat-0.2.0 | lib/xezat.rb |