about summary refs log tree commit diff
path: root/config/initializers/fast_blank.rb
blob: 174ea7664775527231f681d94e0cd7bdb77f83b6 (plain) (blame)
1
2
3
4
5
if String.method_defined?(:blank_as?)
  class String
    alias_method :blank?, :blank_as?
  end
end