Module: DeepCover::CLI::InstrumentedCloneReporter::Gem
- Included in:
- GemCollection, SingleGem
- Defined in:
- lib/deep_cover/cli/instrumented_clone_reporter.rb
Overview
Style specific functionality
Instance Method Summary collapse
Instance Method Details
#each_dir_to_cover ⇒ Object
67 68 69 70 71 |
# File 'lib/deep_cover/cli/instrumented_clone_reporter.rb', line 67 def each_dir_to_cover each_gem_path do |dest_path| yield dest_path.join('lib') end end |
#each_main_ruby_files(&block) ⇒ Object
60 61 62 63 64 65 |
# File 'lib/deep_cover/cli/instrumented_clone_reporter.rb', line 60 def each_main_ruby_files(&block) each_gem_path do |dest_path| main = dest_path.join('lib/*.rb') Pathname.glob(main).select(&:file?).each(&block) end end |