Module: Sourcify::Patches::String
- Defined in:
- lib/sourcify/lib/sourcify/patches.rb
Instance Method Summary collapse
Instance Method Details
#encoding ⇒ Object
47 48 49 |
# File 'lib/sourcify/lib/sourcify/patches.rb', line 47 def encoding nil end |
#force_encoding(dummy) ⇒ Object
51 52 53 |
# File 'lib/sourcify/lib/sourcify/patches.rb', line 51 def force_encoding(dummy) self end |
#same_encoding_as(other) ⇒ Object
37 38 39 |
# File 'lib/sourcify/lib/sourcify/patches.rb', line 37 def same_encoding_as(other) force_encoding(other.encoding) end |