Skip to content

Commit

Permalink
Moved tasks to lib, Rails 3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
josepjaume authored and Nelson Silva committed Apr 26, 2010
1 parent a19b247 commit fce808f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/yUMLmeRails.rake → lib/tasks/yUMLmeRails.rake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
YUMLME_URL="http://yuml.me/diagram/scruffy/class/"
FILENAME=File.join(RAILS_ROOT, 'doc','diagrams',"model.#{Time.now.strftime('%Y%m%d-%H%M%S')}.png")
FILENAME=File.join(Rails.root, 'doc','diagrams',"model.#{Time.now.strftime('%Y%m%d-%H%M%S')}.png")

def generate_diagram(file=FILENAME)
require 'open-uri'
Expand Down

0 comments on commit fce808f

Please sign in to comment.