Class: Chirp::IsDir

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

Instance Method Summary collapse

Methods inherited from FSExpression

#&, #|, #~

Instance Method Details

#evaluate(path) ⇒ Object



59
60
61
# File 'lib/chirp/fs_expression.rb', line 59

def evaluate(path)
  File.directory?(path)
end