Skip to content

Commit

Permalink
docs: variant fallback now states that the fallback will be returned …
Browse files Browse the repository at this point in the history
…when no flag is found
  • Loading branch information
sighphyre committed Sep 19, 2024
1 parent fbb0d2e commit 4659786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ Note: `if_enabled` (and `if_disabled`) only support `default_value`, but not `fa

#### Variations

If no variant is found in the server, use the fallback variant.
If no flag is found in the server, use the fallback variant.

```ruby
fallback_variant = Unleash::Variant.new(name: 'default', enabled: true, payload: {"color" => "blue"})
Expand Down

0 comments on commit 4659786

Please sign in to comment.