Sha256: fdf4c0af4353e34d00223c10dfcdb6cd6db3cdc139a0c0e409e663ba902cfb3f

Contents?: true

Size: 398 Bytes

Versions: 18

Compression:

Stored size: 398 Bytes

Contents

module Bixby
  class << self
    attr_accessor :manager_uri

    def repo(*args)
      path("repo", *args)
    end
    alias_method :repo_path, :repo

    # Path to BIXBY_HOME
    def root
      ENV["BIXBY_HOME"]
    end
    alias_method :home, :root

    # Helper for creating absolute paths inside BIXBY_HOME
    def path(*args)
      File.expand_path(File.join(root, *args))
    end

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
bixby-common-0.7.1 lib/bixby-common/bixby.rb
bixby-common-0.7.0 lib/bixby-common/bixby.rb
bixby-common-0.6.6 lib/bixby-common/bixby.rb
bixby-common-0.6.5 lib/bixby-common/bixby.rb
bixby-common-0.6.4 lib/bixby-common/bixby.rb
bixby-common-0.6.3 lib/bixby-common/bixby.rb
bixby-common-0.6.2 lib/bixby-common/bixby.rb
bixby-common-0.6.1 lib/bixby-common/bixby.rb
bixby-common-0.6.0 lib/bixby-common/bixby.rb
bixby-common-0.5.0 lib/bixby-common/bixby.rb
bixby-common-0.4.13 lib/bixby-common/bixby.rb
bixby-common-0.4.12 lib/bixby-common/bixby.rb
bixby-common-0.4.11 lib/bixby-common/bixby.rb
bixby-common-0.4.10 lib/bixby-common/bixby.rb
bixby-common-0.4.9 lib/bixby-common/bixby.rb
bixby-common-0.4.8 lib/bixby-common/bixby.rb
bixby-common-0.4.7 lib/bixby-common/bixby.rb
bixby-common-0.4.6 lib/bixby-common/bixby.rb