Class: TcravitRubyLib::RakeTasks

Inherits:
Object
  • Object
show all
Includes:
Rake::DSL
Defined in:
lib/tcravit_ruby_lib/rake_tasks.rb

Overview

Load and install rake tasks defined within the TcravitRubyLib library.

This module is designed to be require’d by a Rakefile, and will load and install all of the Rake tasks contained within the library.

Instance Method Summary collapse

Instance Method Details

#install_tasksObject



33
34
35
36
37
# File 'lib/tcravit_ruby_lib/rake_tasks.rb', line 33

def install_tasks
  Dir["#{File.join(File.dirname(__FILE__), 'tasks')}/**/*.rake"].each do |f|
    load f
  end
end