Class: Cwb::DirectoryParser
- Defined in:
- lib/cwb/directory_parser.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Parser
#benchmark_suite, #execute, #init_config, #initialize
Constructor Details
This class inherits a constructor from Cwb::Parser
Instance Method Details
#delegate_execution ⇒ Object
11 12 13 14 |
# File 'lib/cwb/directory_parser.rb', line 11 def delegate_execution cwb_benchmarks = init_classes(read_lines(benchmarks_file_path)) benchmark_suite.execute_suite(cwb_benchmarks) end |
#validate ⇒ Object
6 7 8 9 |
# File 'lib/cwb/directory_parser.rb', line 6 def validate check_file_exists(benchmarks_file_path) require_all(read_lines(benchmarks_file_path)) end |