Parent

Methods

Class Index [+]

Quicksearch

RKelly::Visitors::PointcutVisitor

Attributes

matches[R]

(Not documented)

Public Class Methods

new(pattern, matches = []) click to toggle source

(Not documented)

# File lib/rkelly/visitors/pointcut_visitor.rb, line 5
      def initialize(pattern, matches = [])
        @pattern  = pattern
        @matches  = matches
      end

Public Instance Methods

>(pattern) click to toggle source

(Not documented)

# File lib/rkelly/visitors/pointcut_visitor.rb, line 10
      def >(pattern)
        pattern =
          case pattern
          when Class
            pattern.new(Object)
          else
            pattern
          end
        self.class.new(nil, @matches.map do |m|
          m.pointcut(pattern).matches
        end.flatten)
      end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.