Parent

Methods

Files

DataMapper::Visualizer::Rake::Task

Public Class Methods

new(options={}) click to toggle source

Creates a new task.

@yield [task]

The given block will be passed the newly created task.

@yieldparam [Task] task

The new Task.
# File lib/dm-visualizer/rake/task.rb, line 16
def initialize(options={})
  yield self if block_given?

  define()
end

Public Instance Methods

define(&block) click to toggle source

Defines a task within the `dm:doc` namespace.

# File lib/dm-visualizer/rake/task.rb, line 25
def define(&block)
  namespace :dm do
    namespace(:doc,&block)
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.