class Object
Public Instance Methods
data(*args, &block)
click to toggle source
# File lib/data_task.rb, line 71 def data(*args, &block) # The task name in *args here is a Data returned by the adapter. Rake will key this task by # Data.to_s in @tasks [Array]. All task recording and lookup in Rake is already done via to_s # already to accomdate tasks named by symbols. Rake::DataTask::DataTask.define_task(*args, &block) end