Sha256: baa7f4a099230e267ea3d832dad4ca7eb78863c6759c47959220273c3a893d0b

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

$LIB_DIR = File.dirname(__FILE__) + '/../lib'
$LOAD_PATH.unshift($LIB_DIR) unless $LOAD_PATH.include?($LIB_DIR)

require 'bundler/setup'

require 'base64'
require 'date'
require 'drb'
require 'erb'
require 'fileutils'
require 'forwardable'
require 'io/console'
require 'json'
require 'logger'
require 'set'
require 'singleton'
require 'thread'
require 'time'
require 'zlib'

require 'thor'

require 'vedeu/logging/log'

# Vedeu is a GUI framework for terminal/console applications written in Ruby.
#
module Vedeu

  extend Forwardable
  extend self

  def_delegators Vedeu::Logging::Log, :log

  # Return the name of currently focussed interface.
  #
  # @return [Vedeu::Models::Focus]
  def self.focusable
    @focusable ||= Vedeu::Models::Focus
  end

  # :nocov:
  # When Vedeu is included within one of your classes, you should have all
  # API methods at your disposal.
  #
  # @example
  #   class YourClassHere
  #     include Vedeu
  #
  #     # ...
  #   end
  #
  # @param receiver [void]
  # @return [void]
  def included(receiver)
    receiver.send(:include, Vedeu::API::External)
    receiver.extend(Vedeu::API::External)
  end
  # :nocov:

end # Vedeu

require 'vedeu/all'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vedeu-0.6.15 lib/vedeu.rb
vedeu-0.6.14 lib/vedeu.rb