Sha256: 6c0211e54b0ba01bccb13c1169e197653d4cfb5732232afd2854d140a814b056

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

require 'date'
require 'logger'
require 'io/console'
require 'virtus'
require 'yajl'

require_relative 'vedeu/input/input'

require_relative 'vedeu/support/event_loop'
require_relative 'vedeu/support/exit'
require_relative 'vedeu/support/queue'
require_relative 'vedeu/support/terminal'

require_relative 'vedeu/output/base'
require_relative 'vedeu/output/background'
require_relative 'vedeu/output/compositor'
require_relative 'vedeu/output/cursor'
require_relative 'vedeu/output/directive'
require_relative 'vedeu/output/foreground'
require_relative 'vedeu/output/geometry'
require_relative 'vedeu/output/layer'
require_relative 'vedeu/output/esc'
require_relative 'vedeu/output/colour'
require_relative 'vedeu/output/output'
require_relative 'vedeu/output/position'
require_relative 'vedeu/output/style'
require_relative 'vedeu/output/translator'
require_relative 'vedeu/output/wordwrap'

require_relative 'vedeu/process/process'

require_relative 'vedeu/repository/repository'
require_relative 'vedeu/repository/command_repository'
require_relative 'vedeu/repository/command'
require_relative 'vedeu/repository/interface_repository'
require_relative 'vedeu/repository/interface'
require_relative 'vedeu/repository/storage'
require_relative 'vedeu/repository/dummy_interface'
require_relative 'vedeu/repository/dummy_command'

require_relative 'vedeu/application'
require_relative 'vedeu/launcher'
require_relative 'vedeu/version'

module Vedeu
  # :nocov:
  def self.logger
    @logger ||= Logger.new(root_path + '/logs/vedeu.log').tap do |log|
      log.formatter = proc do |_, time, _, msg|
        "\n#{time.iso8601}: #{msg}\n"
      end
    end
  end
  # :nocov:

  # :nocov:
  def self.included(receiver)
    receiver.extend(ClassMethods)
  end
  # :nocov:

  private

  # :nocov:
  def self.root_path
    File.expand_path('../..', __FILE__)
  end
  # :nocov:
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.0.22 lib/vedeu.rb