Fix of typos (#88)

This commit is contained in:
Pedro Furtado 2021-11-24 17:53:46 -03:00 committed by GitHub
parent d9454aebb1
commit dddadc0616
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -52,11 +52,11 @@ is_uuid_v5.call(uuid1).success? # => false
> Similar to Ruby's `===` operator
``` ruby
is_natrual = build { case?(1...) }
is_natural = build { case?(1...) }
is_natrual.call(1).success? # => true
is_natrual.call(-1).success? # => false
is_natrual.call("<string>").success? # => false
is_natural.call(1).success? # => true
is_natural.call(-1).success? # => false
is_natural.call("<string>").success? # => false
is_integer = build { case?(Integer) }
@ -497,7 +497,7 @@ is_filled.call({}).success? # => false
> Returns true when the struct input responds to the given method. Similar to Ruby's `Object#respond_to?` method
``` ruby
has_named = build { attr?(:name) }
is_named = build { attr?(:name) }
class Person < Struct.new(:age, :name)
# Logic ...