Sha256: 5079a39c521c12507b4edc8451ac5f3cd80fdee745f1fb343c4e992dd5ac23fb
Contents?: true
Size: 856 Bytes
Versions: 1
Compression:
Stored size: 856 Bytes
Contents
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__) require "bundler/setup" #Bundler.require require "pa" require "optimism" require "retort" libdir = File.dirname(__FILE__) $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir) Retort::Service.configure do |c| c.url = "http://localhost/RPC2" end module Saber autoload :VERSION, "saber/version" autoload :CLI, "saber/cli" autoload :UI, "saber/ui" autoload :Task, "saber/task" autoload :Downloader, "saber/downloader" autoload :Server, "saber/server" autoload :Client, "saber/client" autoload :DRbServer, "saber/server" autoload :DRbClient, "saber/client" Error = Class.new Exception FatalError = Class.new Exception Rc = Optimism.require "saber/rc", "/etc/saber" class << self attr_accessor :ui def ui @ui ||= UI.new end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
saber-0.0.4 | lib/saber.rb |