Class: String
Instance Method Summary collapse
Instance Method Details
#encode2utf8 ⇒ Object
20 21 22 |
# File 'lib/joffice/kernel/string.rb', line 20 def encode2utf8 self.respond_to?(:force_encoding) ? force_encoding("utf-8") : self end |