class String

def acts_like_string?

Enable more predictable duck-typing on String-like classes. See Object#acts_like?.
def acts_like_string?
  true
end