Sha256: 58106c6fd2f7036461de1443fafe42d73be9d4bcf32af7c5e30e2b585af7ee5e
Contents?: true
Size: 332 Bytes
Versions: 2
Compression:
Stored size: 332 Bytes
Contents
module LoggerHelper def dump(contents) in_tmp_folder do File.open("dump_file.txt", "w") do |file| file << contents end unless ENV['CUCUMBER_EDITOR'] puts contents else `#{ENV['CUCUMBER_EDITOR']} '#{File.expand_path filename}'` end end end end World(LoggerHelper)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tweettail-1.0.0 | features/support/logger.rb |
tweettail-1.1.0 | features/support/logger.rb |