Sha256: 93ed390906d5a3772e95244dbd9ddb75bca0ca40861fd77afa4dd9e606350898
Contents?: true
Size: 867 Bytes
Versions: 1
Compression:
Stored size: 867 Bytes
Contents
# # h2. lib/imw/workflow/task.rb -- # # == About # # This file defines a class <tt>IMW::Task</tt> which subclasses # <tt>Rake::Task</tt>. Tasks defined in IMW should be instances of # <tt>IMW::Task</tt>. # # Author:: (Philip flip Kromer, Dhruv Bansal) for Infinite Monkeywrench Project (mailto:coders@infochimps.org) # Copyright:: Copyright (c) 2008 infochimps.org # License:: GPL 3.0 # Website:: http://infinitemonkeywrench.org/ # # puts "#{File.basename(__FILE__)}: Something clever" # at bottom require 'rake' module IMW class Task < Rake::Task end class Dataset include Rake::TaskManager # Return a new (or existing) <tt>IMW::Task</tt> with the given # +name+. Dependencies can be declared and a block passed in just # as in Rake. def task name, &block self.define_task IMW::Task, name, &block end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
imw-0.1.0 | lib/imw/dataset/task.rb |