Sha256: ab35dae10c5594a96426d38e80de0dbcf4a24373869fb4ca532dc764eb138e6d

Contents?: true

Size: 1.05 KB

Versions: 5

Compression:

Stored size: 1.05 KB

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/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

5 entries across 5 versions & 1 rubygems

Version Path
vedeu-0.4.60 lib/vedeu.rb
vedeu-0.4.59 lib/vedeu.rb
vedeu-0.4.58 lib/vedeu.rb
vedeu-0.4.57 lib/vedeu.rb
vedeu-0.4.56 lib/vedeu.rb