Class: PomLoader::Tasks

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/pom-loader/tasks.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.install_tasks(opts = {}) ⇒ Object



25
26
27
# File 'lib/pom-loader/tasks.rb', line 25

def install_tasks(opts = {})
  new.install
end

Instance Method Details

#installObject



30
31
32
33
34
35
36
37
# File 'lib/pom-loader/tasks.rb', line 30

def install
  desc 'Generate and gather all of the files required for PomLoader'
  namespace :pom_loader do
    task :load do |t|
      PomLoader.load
    end
  end
end