aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/base64.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.rb b/lib/base64.rb
index 30304cd188..bf33124562 100644
--- a/lib/base64.rb
+++ b/lib/base64.rb
@@ -78,7 +78,7 @@ module Base64
# Alphabet'' in RFC 4648.
# The alphabet uses '-' instead of '+' and '_' instead of '/'.
# Note that the result can still contain '='.
- # You can remove the padding by setting "padding" as false.
+ # You can remove the padding by setting +padding+ as false.
def urlsafe_encode64(bin, padding: true)
str = strict_encode64(bin).tr("+/", "-_")
str = str.delete("=") unless padding