Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/rockdove.rb

Overview

Make String encodings work the same across 1.8

Instance Method Summary collapse

Instance Method Details

#force_encoding(enc) ⇒ Object

Make String force_encodings work the same across 1.8



31
32
33
# File 'lib/rockdove.rb', line 31

def force_encoding(enc)
  self
end