Class: Chirp::IsFile

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



65
66
67
# File 'lib/chirp/fs_expression.rb', line 65

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