Class: Producer::Core::Tests::FileMatch

Inherits:
Producer::Core::Test show all
Defined in:
lib/producer/core/tests/file_match.rb

Instance Attribute Summary

Attributes inherited from Producer::Core::Test

#arguments, #env

Instance Method Summary collapse

Methods inherited from Producer::Core::Test

#initialize, #negated?, #pass?

Constructor Details

This class inherits a constructor from Producer::Core::Test

Instance Method Details

#verifyObject



5
6
7
# File 'lib/producer/core/tests/file_match.rb', line 5

def verify
  !!(file_content =~ arguments[1])
end