Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support only_if in controls #619

Merged
merged 3 commits into from
Apr 6, 2016
Merged

Support only_if in controls #619

merged 3 commits into from
Apr 6, 2016

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Apr 6, 2016

control 1 do
  only_if { true }
  ...
end

rebase and merge after #618

@arlimus arlimus changed the title only_if on controls REBASE only_if on controls Apr 6, 2016
instead of keeping them as flat variables, prefix all internals with `__` to create consistency. Also add accessors on the class-level to expose these values in all rules. This way we keep all variable-names in one location and get some safety on access.
@chris-rock chris-rock changed the title REBASE only_if on controls Support only_if on controls Apr 6, 2016
@chris-rock
Copy link
Contributor

Awesome addition @arlimus

@chris-rock chris-rock merged commit 8656e67 into master Apr 6, 2016
@chris-rock chris-rock deleted the dr/only_if_control branch April 6, 2016 09:27
@arlimus arlimus changed the title Support only_if on controls Support only_if in controls Apr 9, 2016
@arlimus arlimus added the Type: Enhancement Improves an existing feature label Apr 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants