mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Replace "iff" with "whether" and "if and only if"
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" or "whether" should suffice. https://github.com/rubygems/rubygems/commit/88318ebc6d
This commit is contained in:
parent
db7d0b89f6
commit
1def8a6004
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ module Gem::Resolver::Molinillo
|
|||
|
||||
# Is there a path from `self` to `other` following edges in the
|
||||
# dependency graph?
|
||||
# @return true iff there is a path following edges within this {#graph}
|
||||
# @return whether there is a path following edges within this {#graph}
|
||||
def path_to?(other)
|
||||
_path_to?(other)
|
||||
end
|
||||
|
|
|
@ -34,7 +34,7 @@ module Gem::Resolver::Molinillo
|
|||
|
||||
# An error caused by attempting to fulfil a dependency that was circular
|
||||
#
|
||||
# @note This exception will be thrown iff a {Vertex} is added to a
|
||||
# @note This exception will be thrown if and only if a {Vertex} is added to a
|
||||
# {DependencyGraph} that has a {DependencyGraph::Vertex#path_to?} an
|
||||
# existing {DependencyGraph::Vertex}
|
||||
class CircularDependencyError < ResolverError
|
||||
|
|
Loading…
Add table
Reference in a new issue