Jldrill Git C0 Coverage Information - RCov

lib/jldrill/contexts/PromptForSaveContext.rb

Name Total Lines Lines of Code Total Coverage Code Coverage
lib/jldrill/contexts/PromptForSaveContext.rb 17 13
52.94%
38.46%

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 require 'jldrill/contexts/PromptContext'
2 
3 module JLDrill
4 
5 	class PromptForSaveContext < JLDrill::PromptContext
6 		
7 		def initialize(viewBridge)
8 			super(viewBridge)
9 		end
10 		
11 		def createViews
12 		    @title = "Unsaved Changes"
13 		    @message = "You have unsaved changes\nDo you want to save?"
14             super
15         end
16     end
17 end

Generated on Mon May 23 16:17:46 +0900 2011 with rcov 0.9.8