From 4b3b28856c155b01676e7954695e6fbd34c40b3f Mon Sep 17 00:00:00 2001 From: David Czarnecki Date: Sat, 11 Jun 2011 13:38:41 -0400 Subject: [PATCH] Adding documentation for raw_encoding method --- lib/csv.rb | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/lib/csv.rb b/lib/csv.rb index 50aba3d..ce05164 100644 --- a/lib/csv.rb +++ b/lib/csv.rb @@ -2319,6 +2319,10 @@ class CSV private + # + # Returns the encoding of the internal IO object or the +default+ if the + # encoding cannot be determined. + # def raw_encoding(default = Encoding::ASCII_8BIT) if @io.respond_to? :internal_encoding @io.internal_encoding || @io.external_encoding -- 1.6.6