Skip to content

Rename toggle? to variation - #74

Merged
jkodumal merged 1 commit into
launchdarkly:masterfrom
colmdoyle:master
Oct 4, 2016
Merged

jkodumal merged 1 commit into
launchdarkly:masterfrom
colmdoyle:master

Conversation

@colmdoyle

Copy link
Copy Markdown
Contributor

Per https://github.com/launchdarkly/ruby-client/blob/master/lib/ldclient-rb/ldclient.rb#L59, the preferred way to test a feature flag is to use variation(key, user, default), not toggle?(key, user, default)

Per https://github.com/launchdarkly/ruby-client/blob/master/lib/ldclient-rb/ldclient.rb#L59, the preferred way to test a feature flag is to use `variation(key, user, default)`, not `toggle?(key, user, default)`
@jkodumal

jkodumal commented Oct 4, 2016

Copy link
Copy Markdown
Contributor

Thanks, we missed these references. Appreciate the contribution.

@jkodumal
jkodumal merged commit bb76f68 into launchdarkly:master Oct 4, 2016
eli-darkly added a commit that referenced this pull request Jul 3, 2018
unit test for reconnecting after stream EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants