Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
1 2 3 4 5
#!/bin/env ruby if ENV['TM_CURRENT_LINE'] =~ /(.*)(Given|When|Then|And)(.*)/ print %Q(#{$1}#{$2}("#{$3.strip}")) end
Pasted December 31, 2007 5:30PM EDT
by Geoffrey Grosenbach (topfunky)
Embed
paste again