Skip to content

Commit bf6d5aa

Browse files
authored
Merge pull request #54 from gmcgibbon/use_if_not_iff
Replace "iff" with "if and only if"
2 parents 7e30ea3 + 4fa0c28 commit bf6d5aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/logger.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,35 +302,35 @@ def datetime_format
302302
alias sev_threshold level
303303
alias sev_threshold= level=
304304

305-
# Returns +true+ iff the current severity level allows for the printing of
305+
# Returns +true+ if and only if the current severity level allows for the printing of
306306
# +DEBUG+ messages.
307307
def debug?; level <= DEBUG; end
308308

309309
# Sets the severity to DEBUG.
310310
def debug!; self.level = DEBUG; end
311311

312-
# Returns +true+ iff the current severity level allows for the printing of
312+
# Returns +true+ if and only if the current severity level allows for the printing of
313313
# +INFO+ messages.
314314
def info?; level <= INFO; end
315315

316316
# Sets the severity to INFO.
317317
def info!; self.level = INFO; end
318318

319-
# Returns +true+ iff the current severity level allows for the printing of
319+
# Returns +true+ if and only if the current severity level allows for the printing of
320320
# +WARN+ messages.
321321
def warn?; level <= WARN; end
322322

323323
# Sets the severity to WARN.
324324
def warn!; self.level = WARN; end
325325

326-
# Returns +true+ iff the current severity level allows for the printing of
326+
# Returns +true+ if and only if the current severity level allows for the printing of
327327
# +ERROR+ messages.
328328
def error?; level <= ERROR; end
329329

330330
# Sets the severity to ERROR.
331331
def error!; self.level = ERROR; end
332332

333-
# Returns +true+ iff the current severity level allows for the printing of
333+
# Returns +true+ if and only if the current severity level allows for the printing of
334334
# +FATAL+ messages.
335335
def fatal?; level <= FATAL; end
336336

0 commit comments

Comments
 (0)