Sha256: 59b9f80989c5bb025090370442fbf99e6bcb6c2e2600dd83855bcc96d0827485

Contents?: true

Size: 1003 Bytes

Versions: 1

Compression:

Stored size: 1003 Bytes

Contents

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

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 'thor'

require 'vedeu/support/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 [Vedeu::Focus]
  def self.focusable
    @focusable ||= Vedeu::Focus
  end

  # 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 []
  # @return [void]
  def included(receiver)
    receiver.send(:include, API)
    receiver.extend(API)
  end

end # Vedeu

require 'vedeu/all'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vedeu-0.4.44 lib/vedeu.rb