Class: Chirp::Not

Inherits:
FSExpression show all
Defined in:
lib/chirp/fs_expression.rb

Instance Method Summary collapse

Methods inherited from FSExpression

#&, #|, #~

Constructor Details

#initialize(exp) ⇒ Not

Returns a new instance of Not.



124
125
126
# File 'lib/chirp/fs_expression.rb', line 124

def initialize(exp)
  @exp1 = exp
end

Instance Method Details

#evaluate(path) ⇒ Object



128
129
130
# File 'lib/chirp/fs_expression.rb', line 128

def evaluate(path)
  not @exp1.evaluate(path)
end