Skip to content

Commit 3ce0365

Browse files
committed
docs: clarify example
1 parent b7a8adb commit 3ce0365

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ User = Structure.new do
138138
end
139139

140140
User.parse(name: "Alice") # works
141+
User.parse(bio: nil) # works, bio can be null
141142
User.parse(name: nil) # ArgumentError: cannot be null: :name
142143
```
143144

0 commit comments

Comments
 (0)