Class: Anyt::Config
- Inherits:
-
Anyway::Config
- Object
- Anyway::Config
- Anyt::Config
- Defined in:
- lib/anyt/config.rb
Overview
Anyt configuration
Instance Method Summary collapse
Instance Method Details
#filter_tests? ⇒ Boolean
20 21 22 |
# File 'lib/anyt/config.rb', line 20 def filter_tests? !only_tests.nil? end |
#tests_filter ⇒ Object
24 25 26 27 28 |
# File 'lib/anyt/config.rb', line 24 def tests_filter @tests_filter ||= begin /(#{only_tests.join('|')})/ end end |
#tests_path ⇒ Object
14 15 16 17 18 |
# File 'lib/anyt/config.rb', line 14 def tests_path return unless tests_relative_path File.(tests_relative_path, Dir.pwd) end |