Sha256: 2d9dffb3f23f8165a82e4805d90fd9329ef1515c581d67b9e459aec8454f9684
Contents?: true
Size: 691 Bytes
Versions: 17
Compression:
Stored size: 691 Bytes
Contents
Given(/^I set the delimiter to "(.*?)"$/) do |delimiter| @csv_options ||= default_csv_options @csv_options["delimiter"] = delimiter end Given(/^I set quotechar to "(.*?)"$/) do |doublequote| @csv_options ||= default_csv_options @csv_options["quoteChar"] = doublequote end Given(/^I set the line endings to linefeed$/) do @csv_options ||= default_csv_options @csv_options["lineTerminator"] = "\n" end Given(/^I set the line endings to carriage return$/) do @csv_options ||= default_csv_options @csv_options["lineTerminator"] = "\r" end Given(/^I set header to "(.*?)"$/) do |boolean| @csv_options ||= default_csv_options @csv_options["header"] = boolean == "true" end
Version data entries
17 entries across 17 versions & 3 rubygems