instiki/vendor/rails/activesupport/lib/active_support/core_ext/string/behavior.rb

13 lines
299 B
Ruby
Raw Normal View History

module ActiveSupport #:nodoc:
module CoreExtensions #:nodoc:
module String #:nodoc:
module Behavior
# Enable more predictable duck-typing on String-like classes. See
# Object#acts_like?.
def acts_like_string?
true
end
end
end
end
end