Sha256: b916f93020b60d802b3c60e003535ff588d9de9ada36802496fd11bb46b4fb55

Contents?: true

Size: 1.06 KB

Versions: 10

Compression:

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

end # Vedeu

require 'vedeu/all'

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
vedeu-0.4.54 lib/vedeu.rb
vedeu-0.4.53 lib/vedeu.rb
vedeu-0.4.52 lib/vedeu.rb
vedeu-0.4.51 lib/vedeu.rb
vedeu-0.4.50 lib/vedeu.rb
vedeu-0.4.49 lib/vedeu.rb
vedeu-0.4.48 lib/vedeu.rb
vedeu-0.4.47 lib/vedeu.rb
vedeu-0.4.46 lib/vedeu.rb
vedeu-0.4.45 lib/vedeu.rb