Sha256: c2573e0f7e23e61903aa37f0e2403cf40a8a6cecf4919608c71caedfd723354d

Contents?: true

Size: 817 Bytes

Versions: 1

Compression:

Stored size: 817 Bytes

Contents

# Jump to the front of the line
$:.unshift(File.dirname(__FILE__)) unless
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))

require 'rubygems'
require 'spectate/config'
require 'spectate/exceptions'

module Spectate
  autoload :Client, 'spectate/client'
  autoload :Encode, 'spectate/encode'
  autoload :Ping, 'spectate/ping'
  autoload :Server, 'spectate/server'
  autoload :Spectator, 'spectate/spectator'
  autoload :Status, 'spectate/status'
  autoload :Tree, 'spectate/tree'
  # Set vital defaults
  VERSION = File.read(File.join(File.dirname(__FILE__), '..', 'VERSION')).chomp
  ROOT_DIR = File.expand_path(File.join('~','.spectate')) unless const_defined?(:ROOT_DIR)
  # Config['basedir'] = ENV['SPECTATE_DIR'] || File.expand_path(File.join('~','.spectate'))
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spectate-0.0.0 lib/spectate.rb