diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 14:24:58 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-20 14:24:58 +0000 |
commit | 8cb2f9c705e05db01ce998233d1e8e0ae7feb749 (patch) | |
tree | 2cd95e78fdd2930a3d9f00af2eef1d8331fe9066 /lib | |
parent | 6511228df62508c63e960b97e30eb33b2d3a5362 (diff) | |
download | ruby-8cb2f9c705e05db01ce998233d1e8e0ae7feb749.tar.gz |
* lib/base64.rb: Fix rdoc-formatting for padding argument.
[fix GH-905][ci skip] Patch by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/base64.rb | 2 |
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 |