Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
#!/usr/bin/env ruby path = (ARGV.shift || '.').gsub(/\/^/,'') files = %w(app config lib db public spec test vendor/plugins Rakefile Capfile CHANGELOG NOTES).collect{|file| path + '/' + file } files.delete('./test') if File.exist?(File.expand_path('spec')) system "mate #{files.join(' ')}"
This paste will be private.
From the Design Piracy series on my blog: