Sha256: 43dc37f33d70a8c186b85991ab7ca4cb4aba82a37a04bebaf23dd18be07afbc7

Contents?: true

Size: 532 Bytes

Versions: 129

Compression:

Stored size: 532 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

    # Load a rakefile.
    def load_rakefile(path)
      load(path)
    end
  end

end

Version data entries

129 entries across 102 versions & 24 rubygems

Version Path
gss-0.0.7 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
gss-0.0.6 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
gss-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/rake-0.9.2.2/lib/rake/rake_module.rb
candlepin-api-0.4.0 bundle/ruby/gems/rake-0.9.2.2/lib/rake/rake_module.rb
simple-client-0.0.3 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
dirty_history-0.7.3 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
dirty_history-0.7.2 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
dirty_history-0.7.1 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb
challah-rolls-0.2.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb
challah-0.8.3 vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb
dirty_history-0.7.0 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/rake_module.rb
dirty_history-0.6.7 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
dirty_history-0.6.6 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
dirty_history-0.6.5 dirty_history/ruby/1.9.1/gems/rake-0.9.2/lib/rake/rake_module.rb
challah-0.8.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/rake_module.rb