ternary_value_flag feature without tests#56
Open
shivang2056yadav wants to merge 1 commit intogaltzo-floss:mainfrom
Open
ternary_value_flag feature without tests#56shivang2056yadav wants to merge 1 commit intogaltzo-floss:mainfrom
shivang2056yadav wants to merge 1 commit intogaltzo-floss:mainfrom
Conversation
1 similar comment
2152d95 to
cad429c
Compare
2 similar comments
cad429c to
def53dc
Compare
1 similar comment
def53dc to
6a6e5e4
Compare
ef9b61b to
fe9a2f4
Compare
1 similar comment
8cd92ea to
d8d120f
Compare
6 similar comments
1 similar comment
1 similar comment
d8d120f to
d655c4f
Compare
houndci-bot
reviewed
Oct 13, 2016
| truthy_and_chosen.concat(untruthy_and_unchosen).concat( | ||
| collect_flags(*flags_to_collect) do |memo, flag| | ||
| memo << "not_#{flag}".to_sym unless truthy_and_chosen.include?(flag) | ||
| memo << "nil_#{flag}".to_sym if self.send(flag) == false |
houndci-bot
reviewed
Oct 13, 2016
| truthy_and_chosen.concat( | ||
| untruthy_and_unchosen = ( | ||
| collect_flags(*flags_to_collect) do |memo, flag| | ||
| memo << "not_#{flag}".to_sym if self.send(flag) == false |
houndci-bot
reviewed
Oct 13, 2016
| class IncorrectFlagColumnException < Exception; end | ||
| class NoSuchFlagQueryModeException < Exception; end | ||
| class NoSuchFlagException < Exception; end | ||
| class InvalidValueForFlagException < Exception; end |
There was a problem hiding this comment.
Inherit from RuntimeError instead of Exception.
Member
There was a problem hiding this comment.
Yeah, all of these classes should not be inheriting from Exception. 💯 Needs to be fixed.
Member
|
@shivang2056yadav - wow! This is really cool! I need to spend more time looking over it. |
d655c4f to
4b19eef
Compare
Member
|
Needs to be rebased on latest master, which now has a passing build on Travis. |
Member
|
I am going to work on this for the next release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.