# File lib/padrino-core/cli/rake.rb, line 7 def self.init(init=false) Padrino::Tasks.files.flatten.uniq.each { |rakefile| Rake.application.add_import(rakefile) rescue puts "<= Failed load #{ext}" } if init Rake.application.init Rake.application.instance_variable_set(:@rakefile, __FILE__) load(File.expand_path('../rake_tasks.rb', __FILE__)) Rake.application.load_imports Rake.application.top_level else load(File.expand_path('../rake_tasks.rb', __FILE__)) Rake.application.load_imports end end
Generated with the Darkfish Rdoc Generator 2.