summaryrefslogtreecommitdiff
path: root/to-ascii
diff options
context:
space:
mode:
Diffstat (limited to 'to-ascii')
-rwxr-xr-xto-ascii5
1 files changed, 2 insertions, 3 deletions
diff --git a/to-ascii b/to-ascii
index 10fd1c2..7e2a842 100755
--- a/to-ascii
+++ b/to-ascii
@@ -4,9 +4,8 @@ while line = STDIN.gets
encoding_options = {
:invalid => :replace,
:undef => :replace,
- :replace => '?',
+ :replace => "?",
:universal_newline => true
}
- puts line.encode 'ASCII', encoding_options
+ puts line.encode "ASCII", encoding_options
end
-