Merge pull request #21674 from amitsuroliya/comment_fix

Replace `#=>` with `# =>` [ci skip]
This commit is contained in:
Carlos Antonio da Silva 2015-09-19 07:22:24 -03:00
commit 0c39a022b0
3 changed files with 4 additions and 4 deletions

@ -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|

@ -242,7 +242,7 @@ end
>> person = Person.new
>> person.valid?
>> person.errors.details[:name] #=> [{error: :blank}]
>> person.errors.details[:name] # => [{error: :blank}]
```
Using `details` with custom validators is covered in the [Working with

@ -239,7 +239,7 @@ You can quickly test the RDoc output with the following command:
```
$ echo "+:to_param+" | rdoc --pipe
#=> <p><code>:to_param</code></p>
# => <p><code>:to_param</code></p>
```
### Regular Font