- Aquarium::Aspects::AdviceChainNode#each
- should return each node in succession
- Aquarium::Aspects::Advice#sort_by_priority_order
- should return an empty array for empty input
- should return a properly-sorted array for arbitrary input of valid advice kind symbols
- should accept strings for the advice kinds, but return sorted symbols
- Aquarium::Aspects::Advice#invoke_original_join_point
- should invoke the original join_point with multiple advices
- should invoke the original join_point with around advice
- should invoke the original join_point with before advice
- should invoke the original join_point with after advice
- should invoke the original join_point with after_returning advice
- should invoke the original join_point with after_raising advice
- Aquarium::Aspects::Advice that raises an exception
- should add the kind of advice to the exception message.
- should add the "Class#method" of the advised object's type and method to the exception message.
- should add the "Class.method" of the advised type's class method to the exception message.
- should rethrow an exception of the same type as the original exception.
- should rethrow an exception with the same backtrace as the original exception.
- Aquarium::Aspects::Advice#invoke_original_join_point that raises an exception
- should add the kind of advice to the exception message.
- should add the "Class#method" of the advised object's type and method to the exception message.
- should add the "Class.method" of the advised type's class method to the exception message.
- should rethrow an exception of the same type as the original exception.
- should rethrow an exception with the same backtrace as the original exception.
- Aquarium::Aspects::Advice.compare_advice_kinds with nil or UNKNOWN_ADVICE_KIND
- should return 0 when comparing nil to nil
- should return 0 when comparing UNKNOWN_ADVICE_KIND to UNKNOWN_ADVICE_KIND
- should return 1 when comparing UNKNOWN_ADVICE_KIND to nil
- should return -1 when comparing nil to UNKNOWN_ADVICE_KIND
- should return 1 when comparing :around to UNKNOWN_ADVICE_KIND
- should return 1 when comparing :before to UNKNOWN_ADVICE_KIND
- should return 1 when comparing :after to UNKNOWN_ADVICE_KIND
- should return 1 when comparing :after_returning to UNKNOWN_ADVICE_KIND
- should return 1 when comparing :after_raising to UNKNOWN_ADVICE_KIND
- should return -1 when comparing UNKNOWN_ADVICE_KIND to :around
- should return -1 when comparing UNKNOWN_ADVICE_KIND to :before
- should return -1 when comparing UNKNOWN_ADVICE_KIND to :after
- should return -1 when comparing UNKNOWN_ADVICE_KIND to :after_returning
- should return -1 when comparing UNKNOWN_ADVICE_KIND to :after_raising
- Aquarium::Aspects::Advice.compare_advice_kinds between 'real' advice kinds
- should return 0 when comparing :around to :around (using priority order)
- should return -1 when comparing :around to :before (using priority order)
- should return -1 when comparing :around to :after (using priority order)
- should return -1 when comparing :around to :after_returning (using priority order)
- should return -1 when comparing :around to :after_raising (using priority order)
- should return 1 when comparing :before to :around (using priority order)
- should return 0 when comparing :before to :before (using priority order)
- should return -1 when comparing :before to :after (using priority order)
- should return -1 when comparing :before to :after_returning (using priority order)
- should return -1 when comparing :before to :after_raising (using priority order)
- should return 1 when comparing :after to :around (using priority order)
- should return 1 when comparing :after to :before (using priority order)
- should return 0 when comparing :after to :after (using priority order)
- should return -1 when comparing :after to :after_returning (using priority order)
- should return -1 when comparing :after to :after_raising (using priority order)
- should return 1 when comparing :after_returning to :around (using priority order)
- should return 1 when comparing :after_returning to :before (using priority order)
- should return 1 when comparing :after_returning to :after (using priority order)
- should return 0 when comparing :after_returning to :after_returning (using priority order)
- should return -1 when comparing :after_returning to :after_raising (using priority order)
- should return 1 when comparing :after_raising to :around (using priority order)
- should return 1 when comparing :after_raising to :before (using priority order)
- should return 1 when comparing :after_raising to :after (using priority order)
- should return 1 when comparing :after_raising to :after_returning (using priority order)
- should return 0 when comparing :after_raising to :after_raising (using priority order)
- Aquarium::Aspects::AdviceChainNodeFactory#make_node
- should raise if an unknown advice kind is specified
- should return a node of the type corresponding to the input advice kind
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (the :ignore_no_matching_join_points parameter that specifies whether or not to warn about no join point matches)
- should warn about no join point matches if the :ignore_no_matching_join_points is not specified.
- should warn about no join point matches if :ignore_no_matching_join_points => false is specified.
- should not warn about no join point matches if :ignore_no_matching_join_points => true is specified.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (parameters that specify the kind of advice)
- should require the kind of advice as the first parameter.
- should contain no other advice types if :around advice specified.
- should allow only one of :after, :after_returning, or :after_raising advice to be specified.
- should allow :before to be specified with :after.
- should allow :before to be specified with :after_returning.
- should allow :before to be specified with :after_raising.
- should accept a single exception specified with :after_raising.
- should accept a list of exceptions specified with :after_raising.
- should accept a separate :exceptions => list of exceptions specified with :after_raising.
- should reject the :exceptions argument unless specified with :after_raising.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (parameters that specify pointcuts)
- should contain at least one of :method(s), :pointcut(s), :named_pointcut(s), :type(s), or :object(s).
- should contain at least one of :pointcut(s), :named_pointcut(s), :type(s), or :object(s) unless :default_objects => object is given.
- should ignore the :default_objects if at least one other :object is given and the :default_objects are objects.
- should ignore the :default_objects if at least one other :object is given and the :default_objects are types.
- should ignore the :default_objects if at least one :pointcut is given even if the :default_objects => object are given.
- should ignore the :default_objects if at least one :pointcut is given even if the :default_objects => type are given.
- should ignore the :default_objects if at least one :join_point is given and the :default_objects are objects.
- should ignore the :default_objects if at least one :join_point is given and the :default_objects are types.
- should ignore the :default_objects if at least one :type is given and the :default_objects are objects.
- should ignore the :default_objects if at least one :type is given and the :default_objects are types.
- should ignore the :default_objects if at least one :type_and_descendents is given and the :default_objects are objects.
- should ignore the :default_objects if at least one :type_and_descendents is given and the :default_objects are types.
- should ignore the :default_objects if at least one :type_and_ancestors is given and the :default_objects are objects.
- should ignore the :default_objects if at least one :type_and_ancestors is given and the :default_objects are types.
- should ignore the :default_objects if at least one :type_and_nested_types is given and the :default_objects are objects.
- should ignore the :default_objects if at least one :type_and_nested_types is given and the :default_objects are types.
- should accept :default_object as a synonym for :default_objects.
- should not contain :pointcut(s) and either :type(s) or :object(s).
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (parameters that specify named constant and/or class variable pointcuts)
- should contain at least one :types or TypeFinder synonym for :types.
- should ignore the :default_objects if at least one :named_pointcut is given even if the :default_objects => object are given.
- should ignore the :default_objects if at least one :named_pointcut is given even if the :default_objects => type are given.
- should accept :named_pointcut as a synonym for :named_pointcuts.
- should accept :for_named_pointcut as a synonym for :named_pointcuts.
- should accept :for_named_pointcuts as a synonym for :named_pointcuts.
- should accept :on_named_pointcut as a synonym for :named_pointcuts.
- should accept :on_named_pointcuts as a synonym for :named_pointcuts.
- should accept :in_named_pointcut as a synonym for :named_pointcuts.
- should accept :in_named_pointcuts as a synonym for :named_pointcuts.
- should accept :within_named_pointcut as a synonym for :named_pointcuts.
- should accept :within_named_pointcuts as a synonym for :named_pointcuts.
- should not contain :named_pointcut(s) and either :type(s) or :object(s).
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new with :types parameter
- should advise the specified types.
- should accept :type as a synonym for :types.
- should accept :class as a synonym for :types.
- should accept :classes as a synonym for :types.
- should accept :module as a synonym for :types.
- should accept :modules as a synonym for :types.
- should accept :name as a synonym for :types.
- should accept :names as a synonym for :types.
- should accept :for_type as a synonym for :types.
- should accept :for_class as a synonym for :types.
- should accept :for_classes as a synonym for :types.
- should accept :for_module as a synonym for :types.
- should accept :for_modules as a synonym for :types.
- should accept :for_name as a synonym for :types.
- should accept :for_names as a synonym for :types.
- should accept :for_types as a synonym for :types.
- should accept :on_type as a synonym for :types.
- should accept :on_class as a synonym for :types.
- should accept :on_classes as a synonym for :types.
- should accept :on_module as a synonym for :types.
- should accept :on_modules as a synonym for :types.
- should accept :on_name as a synonym for :types.
- should accept :on_names as a synonym for :types.
- should accept :on_types as a synonym for :types.
- should accept :in_type as a synonym for :types.
- should accept :in_class as a synonym for :types.
- should accept :in_classes as a synonym for :types.
- should accept :in_module as a synonym for :types.
- should accept :in_modules as a synonym for :types.
- should accept :in_name as a synonym for :types.
- should accept :in_names as a synonym for :types.
- should accept :in_types as a synonym for :types.
- should accept :within_type as a synonym for :types.
- should accept :within_class as a synonym for :types.
- should accept :within_classes as a synonym for :types.
- should accept :within_module as a synonym for :types.
- should accept :within_modules as a synonym for :types.
- should accept :within_name as a synonym for :types.
- should accept :within_names as a synonym for :types.
- should accept :within_types as a synonym for :types.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new with :pointcuts parameter
- should advise the specified pointcuts.
- should accept :pointcut as a synonym for :pointcuts.
- should accept :for_pointcut as a synonym for :pointcuts.
- should accept :for_pointcuts as a synonym for :pointcuts.
- should accept :on_pointcut as a synonym for :pointcuts.
- should accept :on_pointcuts as a synonym for :pointcuts.
- should accept :in_pointcut as a synonym for :pointcuts.
- should accept :in_pointcuts as a synonym for :pointcuts.
- should accept :within_pointcut as a synonym for :pointcuts.
- should accept :within_pointcuts as a synonym for :pointcuts.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new with :objects parameter
- should advise the specified objects.
- should accept :object as a synonym for :objects.
- should accept :for_object as a synonym for :objects.
- should accept :for_objects as a synonym for :objects.
- should accept :on_object as a synonym for :objects.
- should accept :on_objects as a synonym for :objects.
- should accept :in_object as a synonym for :objects.
- should accept :in_objects as a synonym for :objects.
- should accept :within_object as a synonym for :objects.
- should accept :within_objects as a synonym for :objects.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new with :methods parameter
- should advise the specified methods.
- should accept :method as a synonym for :methods.
- should accept :within_method as a synonym for :methods.
- should accept :within_methods as a synonym for :methods.
- should accept :calling as a synonym for :methods.
- should accept :invoking as a synonym for :methods.
- should accept :invocations_of as a synonym for :methods.
- should accept :calls_to as a synonym for :methods.
- should accept :sending_message_to as a synonym for :methods.
- should accept :sending_messages_to as a synonym for :methods.
- should accept :method_matching as a synonym for :methods.
- should accept :within_method_matching as a synonym for :methods.
- should accept :within_methods_matching as a synonym for :methods.
- should accept :calling_methods_matching as a synonym for :methods.
- should accept :invoking_methods_matching as a synonym for :methods.
- should accept :invocations_of_methods_matching as a synonym for :methods.
- should accept :calls_to_methods_matching as a synonym for :methods.
- should accept :sending_message_to_methods_matching as a synonym for :methods.
- should accept :sending_messages_to_methods_matching as a synonym for :methods.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (:attributes parameter)
- should accept :attribute as a synonym for :attributes.
- should accept :accessing as a synonym for :attributes.
- should require the values for :reading => ... and :writing => ... to be equal if both are specified.
- should require the values for :reading => ... and :changing => ... to be equal if both are specified.
- should accept :reading => ... as a synonym for :attributes => ..., :attribute_options => [:readers].
- should accept :writing => ... as a synonym for :attributes => ..., :attribute_options => [:writer].
- should accept :changing => ... as a synonym for :attributes => ..., :attribute_options => [:writer].
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :type(s) parameter and a :method(s) parameter)
- should accept :type(s) => T1, :methods => m
- should accept :type(s) => T1, :methods => [m, ...]
- should accept :type(s) => T1, :methods => /m/
- should accept :type(s) => [T1, ...], :methods => m
- should accept :type(s) => [T1, ...], :methods => [m, ...]
- should accept :type(s) => [T1, ...], :methods => /m/
- should accept :type(s) => /T1/, :methods => m
- should accept :type(s) => /T1/, :methods => [m, ...]
- should accept :type(s) => /T1/, :methods => /m/
- should accept :type(s)_and_ancestors => T1, :methods => [m, ...]
- should accept :type(s)_and_ancestors => [T1, ...], :methods => [m, ...]
- should accept :type(s)_and_ancestors => /T1/, :methods => [m, ...]
- should accept :type(s)_and_descendents => T1, :methods => [m, ...]
- should accept :type(s)_and_descendents => [T1, ...], :methods => [m, ...]
- should accept :type(s)_and_descendents => /T1/, :methods => [m, ...]
- should accept :type(s)_and_nested_types => T1, :methods => [m, ...]
- should accept :type(s)_and_nested_types => [T1, ...], :methods => [m, ...]
- should accept :type(s)_and_nested_types => /T1/, :methods => [m, ...]
- should accept :type(s) => ..., :methods => ..., :method_options => [:exclude_ancestor_methods] to exclude methods defined in ancestors
- should accept :type(s) => ..., :methods => ..., :method_options => [:instance, :public] to match only instance and public (both are the defaults) methods
- should accept :type(s) => ..., :methods => ..., :method_options => [public] to match only instance (default) public methods
- should accept :type(s) => ..., :methods => ..., :method_options => [protected] to match only instance (default) protected methods
- should accept :type(s) => ..., :methods => ..., :method_options => [private] to match only instance (default) private methods
- should accept :type(s) => ..., :methods => ..., :method_options => [:class] to match only public (default) class methods
- should accept :type(s) => ..., :methods => ..., :method_options => [:class, :public] to match only class public methods
- should accept :type(s) => ..., :methods => ..., :method_options => [:class, :private] to match only class private methods
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :type(s) parameter and a :attribute(s) parameter)
- should accept :type(s) => [T1, ...], :attribute(s) => [a, ...]
- should accept :type(s) => [T1, ...], :attribute(s) => a
- should accept :type(s) => [T1, ...], :attribute(s) => /a/
- should accept :type(s) => T1, :attribute(s) => [a]
- should accept :type(s) => T1, :attribute(s) => a
- should accept :type(s) => T1, :attribute(s) => /a/
- should accept :type(s) => /T1/, :attribute(s) => [a, ...]
- should accept :type(s) => /T1/, :attribute(s) => a
- should accept :type(s) => /T1/, :attribute(s) => a
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:readers, :writers] to include both attribute reader and writer methods (default)
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:readers] to include only attribute reader methods
- should accept attribute option :reader as a synonym for :readers
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:writers] to include only attribute writer methods
- should accept attribute option :writer as a synonym for :writers
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:class, :readers, :writers] to include both attribute reader and writer methods (default) for class methods
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:class, :readers] to include only attribute reader class methods
- should accept :type(s) => ..., :attributes => ..., :attribute_options => [:class, :writers] to include only attribute writer class methods
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :object(s) parameter and a :method(s) parameter)
- should accept :object(s) => [o1, ...], :methods => [m, ...]
- should accept :object(s) => [o1, ...], :methods => m
- should accept :object(s) => [o1, ...], :methods => /m/
- should accept :object(s) => o1, :methods => [m, ...]
- should accept :object(s) => o1, :methods => m
- should accept :object(s) => o1, :methods => /m/
- should accept :object(s) => ..., :methods => ..., :method_options => [:exclude_ancestor_methods] to exclude methods defined in ancestors
- should accept :object(s) => ..., :methods => ..., :method_options => [:instance, :public] to match only instance and public (both are the defaults) methods
- should accept :object(s) => ..., :methods => ..., :method_options => [public] to match only instance (default) public methods
- should accept :object(s) => ..., :methods => ..., :method_options => [:instance, public] to match only instance public methods
- should accept :object(s) => ..., :methods => ..., :method_options => [protected] to match only instance (default) protected methods
- should accept :object(s) => ..., :methods => ..., :method_options => [:instance, protected] to match only instance protected methods
- should accept :object(s) => ..., :methods => ..., :method_options => [private] to match only instance (default) private methods
- should accept :object(s) => ..., :methods => ..., :method_options => [:instance, private] to match only instance private methods
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :object(s) parameter and a :attribute(s) parameter)
- should accept :object(s) => [T1, ...], :attribute(s) => [a, ...]
- should accept :object(s) => [T1, ...], :attribute(s) => a
- should accept :object(s) => [T1, ...], :attribute(s) => /a/
- should accept :object(s) => T1, :attribute(s) => [a]
- should accept :object(s) => T1, :attribute(s) => a
- should accept :object(s) => T1, :attribute(s) => /a/
- should accept :object(s) => ..., :attributes => ..., :attribute_options => [:readers, :writers] to include both attribute reader and writer methods (default)
- should accept :object(s) => ..., :attributes => ..., :attribute_options => [:readers] to include only attribute reader methods
- should accept attribute option :reader as a synonym for :readers
- should accept :object(s) => ..., :attributes => ..., :attribute_options => [:writers] to include only attribute writer methods
- should accept attribute option :writer as a synonym for :writers
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :pointcut parameter taking a hash with type specifications)
- should accept {:type(s) => [T1, ...], :methods => [m, ...]}
- should accept {:type(s) => [T1, ...], :methods => m}
- should accept {:type(s) => [T1, ...], :methods => /m/}
- should accept {:type(s)_and_ancestors => [T1, ...], :methods => /m/}
- should accept {:type(s)_and_descendents => [T1, ...], :methods => /m/}
- should accept {:type(s)_and_nested_types => [T1, ...], :methods => /m/}
- should accept {:type(s) => T1, :methods => [m, ...]}
- should accept {:type(s) => T1, :methods => m}
- should accept {:type(s) => T1, :methods => /m/}
- should accept {:type(s)_and_ancestors => T1, :methods => /m/}
- should accept {:type(s)_and_descendents => T1, :methods => /m/}
- should accept {:type(s)_and_nested_types => T1, :methods => /m/}
- should accept {:type(s) => /T1/, :methods => [m, ...]}
- should accept {:type(s) => /T1/, :methods => m}
- should accept {:type(s) => /T1/, :methods => /m/}
- should accept {:type(s)_and_ancestors => /T1/, :methods => /m/}
- should accept {:type(s)_and_descendents => /T1/, :methods => /m/}
- should accept {:type(s)_and_nested_types => /T1/, :methods => /m/}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:instance, public]}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:instance, protected]}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:instance, private]}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:class, public]}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:class, private]}
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:instance]} defaults to public methods
- should accept {:type(s) => T1, :methods => /m/, :method_options =>[:class]} defaults to public class methods
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :pointcut parameter taking a hash with object specifications)
- should accept {:objects => [o1, ...], :methods => [m, ...]}
- should accept {:objects => [o1, ...], :methods => m}
- should accept {:objects => [o1, ...], :methods => /m/}
- should accept {:object => o1, :methods => [m, ...]}
- should accept {:objects => o1, :methods => m}
- should accept {:objects => o1, :methods => /m/}
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :pointcut parameter and a Pointcut object or an array of Pointcuts)
- should accept a single Pointcut object.
- should accept an array of Pointcut objects.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :pointcut parameter and an array of Pointcuts)
- should treat the array as if it is one Pointcut "or'ed" together.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :type(s) parameter and a :method(s) parameter or one of several equivalent :pointcut parameters)
- should advise equivalent join points when :type => T and :method => m is used or :pointcut =>{:type => T, :method => m} is used.
- should advise equivalent join points when :type => T and :method => m is used or :pointcut => pointcut is used, where pointcut matches :type => T and :method => m.
- should advise equivalent join points when :pointcut =>{:type => T, :method => m} is used or :pointcut => pointcut is used, where pointcut matches :type => T and :method => m.
- should advise an equivalent join point when :type => T and :method => m is used or :pointcut => join_point is used, where join_point matches :type => T and :method => m.
- should advise equivalent join points when :type_and_ancestors => T and :method => m is used or :pointcut =>{:type_and_ancestors => T, :method => m} is used.
- should advise equivalent join points when :type_and_ancestors => T and :method => m is used or :pointcut => pointcut is used, where pointcut matches :type_and_ancestors => T and :method => m.
- should advise equivalent join points when :pointcut =>{:type_and_ancestors => T, :method => m} is used or :pointcut => pointcut is used, where pointcut matches :type_and_ancestors => T and :method => m.
- should advise equivalent join points when :type_and_descendents => T and :method => m is used or :pointcut =>{:type_and_descendents => T, :method => m} is used.
- should advise equivalent join points when :type_and_descendents => T and :method => m is used or :pointcut => pointcut is used, where pointcut matches :type_and_descendents => T and :method => m.
- should advise equivalent join points when :pointcut =>{:type_and_descendents => T, :method => m} is used or :pointcut => pointcut is used, where pointcut matches :type_and_descendents => T and :method => m.
- should advise equivalent join points when :type_and_nested_types => T and :method => m is used or :pointcut =>{:type_and_nested_types => T, :method => m} is used.
- should advise equivalent join points when :type_and_nested_types => T and :method => m is used or :pointcut => pointcut is used, where pointcut matches :type_and_nested_types => T and :method => m.
- should advise equivalent join points when :pointcut =>{:type_and_nested_types => T, :method => m} is used or :pointcut => pointcut is used, where pointcut matches :type_and_nested_types => T and :method => m.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :type(s) parameter and an :attributes(s) parameter or one of several equivalent :pointcut parameters)
- should not advise any method join points except those corresponding to attribute methods.
- should advise equivalent join points when :type => T and :attribute => a is used or :pointcut =>{:type => T, :attribute => a} is used.
- should advise equivalent join points when :type => T and :attribute => a is used or :pointcut => pointcut is used, where pointcut matches :type => T and :attribute => a.
- should advise equivalent join points when :pointcut =>{:type => T, :attribute => a} is used or :pointcut => pointcut is used, where pointcut matches :type => T and :attribute => a.
- should advise equivalent join points when :type => T and :attribute => a (the attribute's reader and writer) is used or :pointcut => [join_points] is used, where the join_points match :type => T and :method => :a and :method => :a=.
- should advise an equivalent join point when :type => T and :method => :a= (the attribute's writer) is used or :pointcut => join_point is used, where join_point matches :type => T and :method => a=.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :object(s) parameter and a :method(s) parameter or one of several equivalent :pointcut parameters)
- should advise equivalent join points when :object => o and :method => m is used or :pointcut =>{:object => o, :method => m} is used.
- should advise equivalent join points when :object => o and :method => m is used or :pointcut => pointcut is used, where pointcut matches :object => o and :method => m.
- should advise equivalent join points when :pointcut =>{:object => o, :method => m} is used or :pointcut => pointcut is used, where pointcut matches :object => o and :method => m.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :object(s) parameter and an :attributes(s) parameter or one of several equivalent :pointcut parameters)
- should not advise any method join points except those corresponding to attribute methods.
- should advise equivalent join points when :type => T and :attribute => a is used or :pointcut =>{:type => T, :attribute => a} is used.
- should advise equivalent join points when :type => T and :attribute => a is used or :pointcut => pointcut is used, where pointcut matches :type => T and :attribute => a.
- should advise equivalent join points when :pointcut =>{:type => T, :attribute => a} is used or :pointcut => pointcut is used, where pointcut matches :type => T and :attribute => a.
- should advise equivalent join points when :type => T and :attribute => a (the attribute's reader and writer) is used or :pointcut => [join_points] is used, where the join_points match :type => T and :method => :a and :method => :a=.
- should advise an equivalent join point when :type => T and :method => :a= (the attribute's writer) is used or :pointcut => join_point is used, where join_point matches :type => T and :method => a=.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (block for advice)
- should accept a block as the advice to use.
- should accept an :advice => Proc parameter indicating the advice to use.
- should accept :action => proc as a synonym for :advice.
- should accept :do_action => proc as a synonym for :advice.
- should accept :use_advice => proc as a synonym for :advice.
- should accept :advise_with => proc as a synonym for :advice.
- should accept :invoke => proc as a synonym for :advice.
- should accept :call => proc as a synonym for :advice.
- should allow only one :advice object to be specified (including synonyms).
- should allow ignore an :advice option if a block is given.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (advice block or proc parameter list)
- should raise unless an advice block or :advice => advice parameter is specified.
- should raise if obsolete |jp, *args| list is used.
- should accept an argument list matching |jp, object, *args|.
- should accept an argument list matching |jp, object|.
- should accept an argument list matching |jp|.
- should accept an argument list matching ||.
- should accept no argument list.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (advice block to around advice with just the join_point parameter - Bug #19262)
- should not raise an error
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :type(s) parameter and an :exclude_type(s), and :exclude_type(s)_and_ancestors, an :exclude_type(s)_and_descendents, or an :exclude_type(s)_and_nested_types parameter)
- should accept :type(s) => [T1, ...], :exclude_types => [T2, ...] and exclude join points in the excluded types
- should accept :exclude_type as a synonym for :exclude_types.
- should accept :exclude_class as a synonym for :exclude_types.
- should accept :exclude_classes as a synonym for :exclude_types.
- should accept :exclude_module as a synonym for :exclude_types.
- should accept :exclude_modules as a synonym for :exclude_types.
- should accept :exclude_name as a synonym for :exclude_types.
- should accept :exclude_names as a synonym for :exclude_types.
- should accept :exclude_for_type as a synonym for :exclude_types.
- should accept :exclude_for_class as a synonym for :exclude_types.
- should accept :exclude_for_classes as a synonym for :exclude_types.
- should accept :exclude_for_module as a synonym for :exclude_types.
- should accept :exclude_for_modules as a synonym for :exclude_types.
- should accept :exclude_for_name as a synonym for :exclude_types.
- should accept :exclude_for_names as a synonym for :exclude_types.
- should accept :exclude_for_types as a synonym for :exclude_types.
- should accept :exclude_on_type as a synonym for :exclude_types.
- should accept :exclude_on_class as a synonym for :exclude_types.
- should accept :exclude_on_classes as a synonym for :exclude_types.
- should accept :exclude_on_module as a synonym for :exclude_types.
- should accept :exclude_on_modules as a synonym for :exclude_types.
- should accept :exclude_on_name as a synonym for :exclude_types.
- should accept :exclude_on_names as a synonym for :exclude_types.
- should accept :exclude_on_types as a synonym for :exclude_types.
- should accept :exclude_in_type as a synonym for :exclude_types.
- should accept :exclude_in_class as a synonym for :exclude_types.
- should accept :exclude_in_classes as a synonym for :exclude_types.
- should accept :exclude_in_module as a synonym for :exclude_types.
- should accept :exclude_in_modules as a synonym for :exclude_types.
- should accept :exclude_in_name as a synonym for :exclude_types.
- should accept :exclude_in_names as a synonym for :exclude_types.
- should accept :exclude_in_types as a synonym for :exclude_types.
- should accept :exclude_within_type as a synonym for :exclude_types.
- should accept :exclude_within_class as a synonym for :exclude_types.
- should accept :exclude_within_classes as a synonym for :exclude_types.
- should accept :exclude_within_module as a synonym for :exclude_types.
- should accept :exclude_within_modules as a synonym for :exclude_types.
- should accept :exclude_within_name as a synonym for :exclude_types.
- should accept :exclude_within_names as a synonym for :exclude_types.
- should accept :exclude_within_types as a synonym for :exclude_types.
- should accept :type(s) => [T1, ...], :exclude_types_and_ancestors => [T2, ...] and exclude join points in the excluded types
- should accept :exclude_type_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_class_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_classes_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_module_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_modules_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_name_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_names_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_type_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_class_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_classes_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_module_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_modules_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_name_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_names_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_for_types_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_type_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_class_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_classes_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_module_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_modules_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_name_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_names_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_on_types_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_type_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_class_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_classes_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_module_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_modules_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_name_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_names_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_in_types_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_type_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_class_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_classes_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_module_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_modules_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_name_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_names_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :exclude_within_types_and_ancestors as a synonym for :exclude_types_and_ancestors.
- should accept :type(s) => [T1, ...], :exclude_types_and_descendents => [T2, ...] and exclude join points in the excluded types
- should accept :exclude_type_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_class_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_classes_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_module_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_modules_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_name_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_names_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_type_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_class_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_classes_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_module_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_modules_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_name_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_names_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_for_types_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_type_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_class_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_classes_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_module_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_modules_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_name_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_names_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_on_types_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_type_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_class_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_classes_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_module_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_modules_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_name_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_names_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_in_types_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_type_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_class_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_classes_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_module_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_modules_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_name_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_names_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :exclude_within_types_and_descendents as a synonym for :exclude_types_and_descendents.
- should accept :type(s) => [T1, ...], :exclude_types_and_nested_types => [T2, ...] and exclude join points in the excluded types
- should accept :exclude_type_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_class_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_classes_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_module_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_modules_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_name_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_names_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_type_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_class_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_classes_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_module_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_modules_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_name_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_names_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_type_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_class_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_classes_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_module_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_modules_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_name_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_names_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_type_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_class_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_classes_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_module_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_modules_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_name_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_names_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_for_types_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_type_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_class_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_classes_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_module_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_modules_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_name_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_names_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_type_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_class_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_classes_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_module_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_modules_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_name_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_names_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_on_types_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_type_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_class_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_classes_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_module_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_modules_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_name_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_names_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_type_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_class_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_classes_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_module_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_modules_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_name_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_names_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_in_types_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_type_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_class_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_classes_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_module_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_modules_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_name_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_names_and_nested_types as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_type_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_class_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_classes_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_module_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_modules_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_name_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_names_and_nested as a synonym for :exclude_types_and_nested_types.
- should accept :exclude_within_types_and_nested_types as a synonym for :exclude_types_and_nested_types.
- Aquarium::Aspects::Aspect methods Aquarium::Aspects::Aspect.new (with a :object(s) parameter and an :exclude_object(s) parameter)