gab-social/config/initializers/fast_blank.rb

6 lines
100 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
if String.method_defined?(:blank_as?)
class String
alias_method :blank?, :blank_as?
end
end