Module: Tap::Test::FileTest::ClassMethods
- Defined in:
- lib/tap/test/file_test/class_methods.rb
Overview
Class methods extending tests which include FileTest.
Instance Attribute Summary collapse
-
#class_root ⇒ Object
The class-level test root (a Tap::Root).
-
#cleanup_dirs ⇒ Object
An array of directories to be cleaned up by cleanup (default [‘.’]).
Instance Attribute Details
#class_root ⇒ Object
The class-level test root (a Tap::Root)
14 15 16 |
# File 'lib/tap/test/file_test/class_methods.rb', line 14 def class_root @class_root ||= Root.new(Dir.tmpdir) end |
#cleanup_dirs ⇒ Object
An array of directories to be cleaned up by cleanup (default [‘.’])
22 23 24 |
# File 'lib/tap/test/file_test/class_methods.rb', line 22 def cleanup_dirs @cleanup_dirs ||= ['.'] end |