1
0
mirror of https://github.com/meineerde/rackstash.git synced 2026-02-17 09:02:00 +00:00

Fix typos in code comments

This commit is contained in:
Holger Just 2017-09-28 21:27:31 +02:00
parent 402f754736
commit 807460b585
3 changed files with 8 additions and 7 deletions

View File

@ -34,8 +34,9 @@ module Rackstash
#
# Rackstash::Adapters::File.new('/var/log/rackstash/my_app.log')
#
# you can rotate the file with a config for the the standard
# [logrotate](https://github.com/logrotate/logrotate) utility like this:
# you can rotate the file with a config for the standard
# [logrotate](https://github.com/logrotate/logrotate) utility similar to
# this example:
#
# /var/log/rackstash/my_app.log {
# daily

View File

@ -19,7 +19,7 @@ module Rackstash
class AbstractCollection
include Rackstash::Helpers::UTF8
# Equality -- Two collections are equal if they are of exactly the same
# Equality - Two collections are equal if they are of exactly the same
# class and contain the same raw data according to `Object#==`.
#
# @return [Boolean] `true` if `other` is an object of the same class and

View File

@ -420,11 +420,11 @@ module Rackstash
# buffer.flush if buffer
# end
#
# By using the `begin ... ensure` block, you can enfore that the buffer is
# actually poped and flushed afte the execution leaves your environment,
# even in an Exception is raised. If you omit to pop the Buffer from the
# By using the `begin ... ensure` block, you can enforce that the buffer is
# actually poped and flushed after the execution leaves your environment,
# even if an Exception is raised. If you omit to pop the Buffer from the
# stack, weird things can happen and your logs will probably end up not
# being consistent or even flushed.
# being consistent or not even flushed at all.
#
# @see #pop_buffer
#