Sha256: ae72aa3826e1cd635c4e1e393c272b9fb963494162b762060110d1742b0f0f46

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

libdir = File.dirname(__FILE__)
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)

ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__)
require "bundler/setup"
Bundler.require

module Saber
  autoload :VERSION, "saber/version"
  autoload :UI, "saber/ui"
  autoload :Task, "saber/task"
  autoload :CLI, "saber/cli"

  Error = Class.new Exception
  FatalError = Class.new Exception
  Rc = Optimism.require "saber/rc", "~/.saberrc"

  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.1 lib/saber.rb