instance method
acts_like_string?
Ruby on Rails 3.1.12
Since v3.0.20Signature
acts_like_string?()
Enable more predictable duck-typing on String-like classes. See Object#acts_like?.
Source
# File activesupport/lib/active_support/core_ext/string/behavior.rb, line 3
def acts_like_string?
true
end
Defined in activesupport/lib/active_support/core_ext/string/behavior.rb line 3
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in String