Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#show_bad_encodingObject



2
3
4
5
6
# File 'lib/core_ext/string.rb', line 2

def show_bad_encoding
  BadEncoding::B.new.search(self) do |segment|
    segment.valid_encoding? == false
  end
end