Sha256: c9472727c3a6e7aa9a9ebfc578823f86c6217523f855f55c0501337d17363587

Contents?: true

Size: 1.12 KB

Versions: 17

Compression:

Stored size: 1.12 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 'optparse'
require 'set'
require 'singleton'
require 'thread'
require 'time'
require 'zlib'

require 'thor'

require 'vedeu/log/log'

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

  extend Forwardable
  extend self

  def_delegators Vedeu::Log, :log

  # Return the name of currently focussed interface.
  #
  # @return [Vedeu::Focus]
  def self.focusable
    @focusable ||= Vedeu::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, API)
    receiver.extend(API)
  end
  # :nocov:

end # Vedeu

require 'vedeu/all'

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
vedeu-0.6.7 lib/vedeu.rb
vedeu-0.6.6 lib/vedeu.rb
vedeu-0.6.5 lib/vedeu.rb
vedeu-0.6.4 lib/vedeu.rb
vedeu-0.6.3 lib/vedeu.rb
vedeu-0.6.2 lib/vedeu.rb
vedeu-0.6.1 lib/vedeu.rb
vedeu-0.6.0 lib/vedeu.rb
vedeu-0.5.13 lib/vedeu.rb
vedeu-0.5.12 lib/vedeu.rb
vedeu-0.5.11 lib/vedeu.rb
vedeu-0.5.10 lib/vedeu.rb
vedeu-0.5.9 lib/vedeu.rb
vedeu-0.5.8 lib/vedeu.rb
vedeu-0.5.7 lib/vedeu.rb
vedeu-0.5.6 lib/vedeu.rb
vedeu-0.5.5 lib/vedeu.rb