mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-27 05:25:03 +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
|