This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config/initializers/fast_blank.rb

6 lines
100 B
Ruby
Raw Normal View History

2017-04-22 10:48:55 -07:00
if String.method_defined?(:blank_as?)
class String
alias_method :blank?, :blank_as?
end
end