catstodon/config/initializers/fast_blank.rb

7 lines
121 B
Ruby

# frozen_string_literal: true
if String.method_defined?(:blank_as?)
class String
alias blank? blank_as?
end
end