class Treequel::Filter::NotComponent

A filtercomp that negates the filter it contains.

Public Class Methods

new( filter ) click to toggle source

Create an negation component of the specified filter.

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

Public Instance Methods

to_s() click to toggle source

Return the stringified filter form of the receiver.

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