Class: Aquarium::Finders::PointcutFinder::PoincutFinderResult

Inherits:
FinderResult show all
Defined in:
lib/aquarium/finders/pointcut_finder.rb

Constant Summary

Constants inherited from FinderResult

FinderResult::NIL_OBJECT

Instance Attribute Summary

Attributes inherited from FinderResult

#matched, #not_matched

Instance Method Summary collapse

Methods inherited from FinderResult

#<<, #and, #append_matched, #append_not_matched, #empty?, #eql?, #initialize, #inspect, #matched_keys, #minus, #not_matched_keys, #or

Methods included from Utils::SetUtils

#make_set, #strip_set_nils, strip_set_nils

Methods included from Utils::HashUtils

#make_hash, #strip_nil_keys

Methods included from Utils::ArrayUtils

#make_array, make_array, #strip_array_nils, strip_array_nils

Constructor Details

This class inherits a constructor from Aquarium::Finders::FinderResult

Instance Method Details

#found_pointcutsObject

Return an array with the found pointcuts.



61
62
63
# File 'lib/aquarium/finders/pointcut_finder.rb', line 61

def found_pointcuts
  matched.values.inject([]) {|pcs, set| pcs += set.to_a; pcs}
end