1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-21 10:08:13 +09:00
mastodon/config/initializers/fast_blank.rb
Shubhendra Singh Chauhan c8d11b8bdb
Fixed code quality issues ()
* Added .deepsource.toml

* Removed bad use of `alias`

* Fixed operand order in the binary expression

* Prefixed unused method arguments with an underscore

* Replaced the old OpenSSL algorithmic constants with the newer strings initializers.

* Removed unnecessary UTF-8 encoding comment
2021-01-31 21:26:09 +01:00

6 lines
90 B
Ruby

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