Correct simple typos in code comments

This commit is contained in:
Tim Chambers 2015-11-18 15:06:22 -08:00
parent 4f7df519ea
commit 03a46ab8c5
12 changed files with 17 additions and 17 deletions

View file

@ -38,7 +38,7 @@ module Mutant
end # Message
# Binding to othersactors sender for simple RPC
# Binding to other actors sender for simple RPC
class Binding
include Concord.new(:mailbox, :other)

View file

@ -25,7 +25,7 @@ module Mutant
EXIT_FAILURE
end
# Initialize objecct
# Initialize object
#
# @param [Array<String>]
#

View file

@ -1,6 +1,6 @@
module Mutant
class Env
# Boostrap environment
# Bootstrap environment
class Bootstrap
include Adamantium::Flat, Concord::Public.new(:config), Procto.call(:env)
@ -75,7 +75,7 @@ module Mutant
private
# Scope name from scopeing object
# Scope name from scoping object
#
# @param [Class, Module] scope
#
@ -168,6 +168,6 @@ module Mutant
message = format % options
warn(SEMANTICS_MESSAGE_FORMAT % { message: message })
end
end # Boostrap
end # Bootstrap
end # Env
end # Mutant

View file

@ -9,7 +9,7 @@ module Mutant
# * Keeps its state global in RSpec.world and lots of other places
# * There is no API to "just run a subset of examples", the examples
# need to be selected in-place via mutating the `RSpec.filtered_examples`
# datastructure
# data structure
# * Does not maintain a unique identification for an example,
# aside the instances of `RSpec::Core::Example` objects itself.
# For that reason identifying examples by:
@ -120,7 +120,7 @@ module Mutant
# Parse metadata into expression
#
# @param [RSpec::Core::Example::Medatada] metadata
# @param [RSpec::Core::Example::MetaData] metadata
#
# @return [Expression]
#

View file

@ -30,7 +30,7 @@ module Mutant
# Abstract method match evaluator
#
# Present to avoid passing the env argument around in case the
# logic would be implemnented directly on the Matcher::Method
# logic would be implemented directly on the Matcher::Method
# instance
class Evaluator
include AbstractType,

View file

@ -44,7 +44,7 @@ module Mutant
node.children.fetch(NAME_INDEX).equal?(method_name)
end
# Evaluator specialized for memoized instance mthods
# Evaluator specialized for memoized instance methods
class Memoized < self
SUBJECT_CLASS = Subject::Method::Instance::Memoized

View file

@ -54,10 +54,10 @@ module Mutant
# We do not emit right negation as the `and` and `or` nodes
# in ruby are also used for control flow.
#
# Irrespectable of their syntax, aka `||` parses internally to `or`.
# Irrespective of their syntax, aka `||` parses internally to `or`.
#
# `do_a or do_b`. Negating left makes sense, negating right
# only when the result is actualy used.
# only when the result is actually used.
#
# It *would* be possible to emit the right negation in case the use of the result is proved.
# Like parent is an assignment to an {l,i}var. Dunno if we ever get the time to do that.

View file

@ -33,7 +33,7 @@ module Mutant
end
end
# Emit mutation with arg splat as empty array signment in method
# Emit mutation with arg splat as empty array assignment in method
#
# @return [undefined]
#

View file

@ -26,7 +26,7 @@ module Mutant
end
end # Driver
# Run async computation returing driver
# Run async computation returning driver
#
# @return [Driver]
#

View file

@ -144,7 +144,7 @@ module Mutant
#
# @api private
def new_buffer
# For some reason this raises an Ernno::EACCESS errror:
# For some reason this raises an Errno::EACCESS error:
#
# StringIO.new(Tput::INSTANCE.restore, BUFFER_FLAGS)
#

View file

@ -1,5 +1,5 @@
module Mutant
# Namespace and mixon module for results
# Namespace and mixin module for results
module Result
# Coverage mixin
@ -48,7 +48,7 @@ module Mutant
# Mutant overhead running mutatet tests
#
# This is NOT the overhead of mutation testing, just an engine specific
# measurement for the efficiency of the parellelization engine, kill
# measurement for the efficiency of the parallelization engine, kill
# isolation etc.
#
# @return [Float]

View file

@ -58,7 +58,7 @@ module Mutant
status.payload
end
# Confiugation for paralell execution engine
# Configuration for parallel execution engine
#
# @return [Parallel::Config]
#