1
2
3
4
5
#!/bin/env ruby

if ENV['TM_CURRENT_LINE'] =~ /(.*)(Given|When|Then|And)(.*)/
  print %Q(#{$1}#{$2}("#{$3.strip}"))
end