Class: Chirp::Not
- Inherits:
-
FSExpression
- Object
- FSExpression
- Chirp::Not
- Defined in:
- lib/chirp/fs_expression.rb
Instance Method Summary collapse
- #evaluate(path) ⇒ Object
-
#initialize(exp) ⇒ Not
constructor
A new instance of Not.
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 |