Displaying 2 results from an estimated 2 matches for "quote_char".
2009 May 21
0
FasterCSV won't accept :headers option
When I pass :headers => true to FasterCSV.foreach it complains. Without
it it works. Am I doing something wrong?
FasterCSV.foreach(file, {:row_sep => :auto, :col_sep => "\t",
:quote_char => "~", :return_headers => false,
:headers => true}) do |row|
--
Posted via http://www.ruby-forum.com/.
2016 Dec 08
4
[PATCH] generator: Share Common_utils code.
...ize_ascii f);
let needs_comma = ref false in
List.iter (
@@ -869,13 +870,13 @@ and generate_golang_bindtests () =
| c -> sprintf "'%c'" c
in
pr "[]byte{%s}"
- (String.concat ", " (List.map quote_char (explode s)))
+ (String.concat ", " (List.map quote_char (String.explode s)))
) args;
if !needs_comma then pr ", ";
(match optargs with
| None -> pr "nil"
| Some optargs ->
- pr "&guestfs.Optargs%s{&...