Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/dokku_client/core_extensions.rb
Instance Method Summary collapse
Instance Method Details
#fix_encoding ⇒ Object
3 4 5 |
# File 'lib/dokku_client/core_extensions.rb', line 3 def fix_encoding self.encode!('UTF-8', 'US-ASCII', invalid: :replace, replace: "") end |