Sha256: b668a5d712102b9ffe9964da7634138a127ce5ea69f106bd21aa569df1814df9

Contents?: true

Size: 456 Bytes

Versions: 5

Compression:

Stored size: 456 Bytes

Contents

require 'rake/application'

module Rake

  # Rake module singleton methods.
  #
  class << self
    # Current Rake Application
    def application
      @application ||= Rake::Application.new
    end

    # Set the current Rake application object.
    def application=(app)
      @application = app
    end

    # Return the original directory where the Rake application was started.
    def original_dir
      application.original_dir
    end

  end

end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
jimweirich-rake-0.8.5 lib/rake/rake_module.rb
rake-0.9.0.beta.4 lib/rake/rake_module.rb
rake-0.9.0.beta.2 lib/rake/rake_module.rb
rake-0.9.0.beta.1 lib/rake/rake_module.rb
rake-0.9.0.beta.0 lib/rake/rake_module.rb