blob: 35a5aa78405a6b6e47338ddb87a140307f93803f (
plain) (
blame)
1
2
3
4
5
6
7
8
|
# frozen_string_literal: true
class String
# Enables more predictable duck-typing on String-like classes. See <tt>Object#acts_like?</tt>.
def acts_like_string?
true
end
end
|