aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authoramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-19 13:44:54 +0530
committeramitkumarsuroliya <amitkumarsuroliya@gmail.com>2015-09-19 13:45:13 +0530
commitccbf1597b793e8de11b2cd19dd18f18d0b0b2182 (patch)
treed920ea8d4a0cc4cd9234e6c352b3f6c9829350f0 /activesupport
parente110702f6bec3595fdb3b673bebc17bd1c367fdd (diff)
downloadrails-ccbf1597b793e8de11b2cd19dd18f18d0b0b2182.tar.gz
rails-ccbf1597b793e8de11b2cd19dd18f18d0b0b2182.tar.bz2
rails-ccbf1597b793e8de11b2cd19dd18f18d0b0b2182.zip
Replace `#=>` with `# =>` [ci skip]
@rafaelfranca suggested in https://github.com/rails/rails/commit/f7c7bcd9c2a8b0e8c2840295d001d2d4dfd4cfae that code examples should display the result after `# =>` and not after `#=>`.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/securerandom.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/core_ext/securerandom.rb b/activesupport/lib/active_support/core_ext/securerandom.rb
index 6cdbea1f37..98cf7430f7 100644
--- a/activesupport/lib/active_support/core_ext/securerandom.rb
+++ b/activesupport/lib/active_support/core_ext/securerandom.rb
@@ -10,8 +10,8 @@ module SecureRandom
#
# The result may contain alphanumeric characters except 0, O, I and l
#
- # p SecureRandom.base58 #=> "4kUgL2pdQMSCQtjE"
- # p SecureRandom.base58(24) #=> "77TMHrHJFvFDwodq8w7Ev2m7"
+ # p SecureRandom.base58 # => "4kUgL2pdQMSCQtjE"
+ # p SecureRandom.base58(24) # => "77TMHrHJFvFDwodq8w7Ev2m7"
#
def self.base58(n = 16)
SecureRandom.random_bytes(n).unpack("C*").map do |byte|