-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimize supports_feature_mixin helper
This ensures unsupported_reason is stubbed for both supports and non-supports cases (the number of calls to supports is reducing) Since supports? and #unsupported_reason is just a minor shim over .unsupported_reason, left those methods as is. Only stubbing .unsupported_reason This also removes the allow_any_instance_of
- Loading branch information
Showing
1 changed file
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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