Class: String

Inherits:
Object show all
Defined in:
lib/joffice/kernel/string.rb

Instance Method Summary collapse

Instance Method Details

#encode2utf8Object



20
21
22
# File 'lib/joffice/kernel/string.rb', line 20

def encode2utf8
  self.respond_to?(:force_encoding) ? force_encoding("utf-8") : self
end