Rename #has? method generated by bandit_mask
Closed this issue · 0 comments
jparker commented
Naming the method #has? prevents using BanditMask for multiple attributes in the same class. Subsequent calls to bandit_mask would overwrite previous #has? methods.
Better to create a query method with the same name as the wrapper accessor's.