Locate named pointcuts in specified types or objects.
Returns a Aquarium::Finders::FinderResult, where the “matched” keys are the input types, type names, and/or regular expressions, and objects for which matches were found and the corresponding values are the class constant or variable pointcuts that were found. The keys in the “not_matched” part of the FinderResult are the specified types and objects for which no matches were found.
The options are as follows:
All the options supported by Aquarium::Finders::TypeFinder#find.
A name, regular expression or an array of the same. (Mixed allowed.) In the types searched, the names will be matched against class constants and class variable pointcut definitions.
:matching => a variable/constant name, regular expression, or
array of the same
:with_names_matching => same
:named => same
A name, regular expression or an array of the same that will be matched against pointcuts that are class constants only.
:constants_matching => a variable/constant name, regular
expression, or array of the same
:constants_with_names_matching => same
:constants_named => same
A name, regular expression or an array of the same that will be matched against pointcuts that are class variables only.
:class_variables_matching => a variable/constant name, regular
expression, or array of the same
:class_variables_with_names_matching => same
:class_variables_named => same
# File lib/aquarium/finders/pointcut_finder.rb, line 50 def find options = {} init_specification options, CANONICAL_OPTIONS do finish_specification_initialization end result = do_find_pointcuts unless noop unset_specification result end