1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-27 22:38:27 +09:00
mastodon/config/initializers/fast_blank.rb
2017-04-22 19:48:55 +02:00

6 lines
100 B
Ruby

if String.method_defined?(:blank_as?)
class String
alias_method :blank?, :blank_as?
end
end