Sha256: 39d56521208882d0ca6caaca1a791cd5a21b2eb2e8c8c3aeb08696eef9a97bcf
Contents?: true
Size: 654 Bytes
Versions: 1
Compression:
Stored size: 654 Bytes
Contents
require 'rake' module DataMapper module Visualizer module Rake class Task < ::Rake::TaskLib # # Creates a new task. # # @yield [task] # The given block will be passed the newly created task. # # @yieldparam [Task] task # The new Task. # def initialize(options={}) yield self if block_given? define() end # # Defines a task within the `dm:doc` namespace. # def define(&block) namespace :dm do namespace(:doc,&block) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dm-visualizer-0.1.0 | lib/dm-visualizer/rake/task.rb |