Class: Forspell::Loaders::C
- Defined in:
- lib/forspell/loaders/c.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Forspell::Loaders::Base
Instance Method Details
#input ⇒ Object
6 7 8 9 10 |
# File 'lib/forspell/loaders/c.rb', line 6 def input res = super res.encode('UTF-8', invalid: :replace, replace: '?') unless res.valid_encoding? res end |