Class: Testament::Report::Loader
- Inherits:
-
Object
- Object
- Testament::Report::Loader
- Defined in:
- lib/testament/report.rb
Instance Method Summary collapse
Instance Method Details
#load ⇒ Object
14 15 16 17 18 |
# File 'lib/testament/report.rb', line 14 def load report_paths.each do |report_path| ::Kernel.load report_path end end |
#report_names ⇒ Object
20 21 22 23 24 |
# File 'lib/testament/report.rb', line 20 def report_names report_paths.map do |report_path| report_path[/\w+(?=\.rb$)/] end end |