mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-25 14:05:11 +01:00
8 lines
121 B
Ruby
8 lines
121 B
Ruby
# frozen_string_literal: true
|
|
|
|
if String.method_defined?(:blank_as?)
|
|
class String
|
|
alias blank? blank_as?
|
|
end
|
|
end
|