Treequel::Filter::

NotComponent

class
Superclass
Treequel::Filter::Component

A filtercomp that negates the filter it contains.

Public Class Methods

anchor
new( filter )

Create an negation component of the specified filter.

# File lib/treequel/filter.rb, line 133
def initialize( filter )
        @filter = filter
end

Public Instance Methods

anchor
to_s()

Return the stringified filter form of the receiver.

# File lib/treequel/filter.rb, line 138
def to_s
        return '!' + @filter.to_s
end