Class: AnnotateRb::RakeBootstrapper
- Inherits:
-
Object
- Object
- AnnotateRb::RakeBootstrapper
- Defined in:
- lib/annotate_rb/rake_bootstrapper.rb
Class Method Summary collapse
Class Method Details
.call(options) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/annotate_rb/rake_bootstrapper.rb', line 6 def call() require "rake" load "./Rakefile" if File.exist?("./Rakefile") && !Rake::Task.task_defined?(:environment) begin Rake::Task[:environment].invoke rescue nil end end |