Skip to content

Commit b92087f

Browse files
authored
added note for avoid using :default on exactly_one_of
1 parent c549d5e commit b92087f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,6 +1299,8 @@ params do
12991299
end
13001300
```
13011301

1302+
**Note**: Avoid using `:default` option on parameters. This will act like you have multiple parameters given. This will raise `mutually exclusive` exception.
1303+
13021304
#### `at_least_one_of`
13031305

13041306
Parameters can be defined as 'at_least_one_of', ensuring that at least one parameter gets selected.

0 commit comments

Comments
 (0)