Geminstaller C0 Coverage Information - RCov

lib/geminstaller/bundler_exporter.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/geminstaller/bundler_exporter.rb 19 17
100.00%
100.00%

Key

Code reported as executed by Ruby looks like this...and this: this line is also marked as covered.Lines considered as run by rcov, but not reported by Ruby, look like this,and this: these lines were inferred by rcov (using simple heuristics).Finally, here's a line marked as not executed.

Coverage Details

1 module GemInstaller
2   class BundlerExporter
3     attr_writer :output_proxy
4     
5     def output(config)
6       output_string = convert(config)
7       @output_proxy.sysout output_string
8       output_string
9     end
10 
11     def convert(config)
12       manifest = "source :gemcutter\n"
13       config.gems.each do |gem|
14         manifest += %Q{gem "#{gem.name}", "#{gem.version}"\n}
15       end
16       manifest
17     end
18   end
19 end

Generated on Mon May 10 23:40:28 -0700 2010 with rcov 0.9.8