Skip to content

Commit 98424af

Browse files
committed
Fix typos
It is newly detected by misspell. ```console Run codespell --ignore-words=codespell.txt || exit 1 ./README.adoc:4310: falsy ==> falsely, false ./README.adoc:4313: falsy ==> falsely, false Error: Process completed with exit code 1. ``` https://github.com/rubocop/ruby-style-guide/runs/7968170911
1 parent fc0125e commit 98424af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4307,10 +4307,10 @@ Introduce default values for hash keys via `Hash#fetch` as opposed to using cust
43074307
----
43084308
batman = { name: 'Bruce Wayne', is_evil: false }
43094309
4310-
# bad - if we just use || operator with falsy value we won't get the expected result
4310+
# bad - if we just use || operator with falsey value we won't get the expected result
43114311
batman[:is_evil] || true # => true
43124312
4313-
# good - fetch works correctly with falsy values
4313+
# good - fetch works correctly with falsey values
43144314
batman.fetch(:is_evil, true) # => false
43154315
----
43164316

0 commit comments

Comments
 (0)