Flowdock
method

raw_encoding

Importance_0
v1_9_2_180 - Show latest stable - 0 notes - Class: CSV
raw_encoding() private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/csv.rb, line 2304
  def raw_encoding
    if @io.respond_to? :internal_encoding
      @io.internal_encoding || @io.external_encoding
    elsif @io.is_a? StringIO
      @io.string.encoding
    elsif @io.respond_to? :encoding
      @io.encoding
    else
      Encoding::ASCII_8BIT
    end
  end
Register or log in to add new notes.