Module: Eightball
- Defined in:
- lib/eightball.rb
Instance Method Summary collapse
Instance Method Details
#eightball ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/eightball.rb', line 3 def eightball string = self string = string.force_encoding(Encoding::UTF_8) if not_utf8? string = reencode(string) string = drop_bom(string) string end |