Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions ext/strscan/strscan.c
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ strscan_unscan(VALUE self)
}

/*
* Returns +true+ iff the scan pointer is at the beginning of the line.
* Returns +true+ if and only if the scan pointer is at the beginning of the line.
*
* s = StringScanner.new("test\ntest\n")
* s.bol? # => true
Expand Down Expand Up @@ -1037,7 +1037,7 @@ strscan_empty_p(VALUE self)
}

/*
* Returns true iff there is more data in the string. See #eos?.
* Returns true if and only if there is more data in the string. See #eos?.
* This method is obsolete; use #eos? instead.
*
* s = StringScanner.new('test string')
Expand All @@ -1054,7 +1054,7 @@ strscan_rest_p(VALUE self)
}

/*
* Returns +true+ iff the last match was successful.
* Returns +true+ if and only if the last match was successful.
*
* s = StringScanner.new('test string')
* s.match?(/\w+/) # => 4
Expand Down