Sha256: f059c0ab8a2dc83c0df7ed7fae4de4d3d3ef122090478ff86456a7b8420f1b3e

Contents?: true

Size: 269 Bytes

Versions: 3

Compression:

Stored size: 269 Bytes

Contents

require 'colorize'
desc 'list destroyable/deletable dependencies of your ActiveRecord class'
task dread: :environment do
  begin
    dread_graph = Dread::Graph.new(ENV['class'])
    dread_graph.draw
  rescue Dread::Error => e
    puts e.message.colorize(:red)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dread-0.0.7 lib/tasks/dread.rake
dread-0.0.6 lib/tasks/dread.rake
dread-0.0.5 lib/tasks/dread.rake