C0 code coverage information
Generated on Sat Feb 02 17:44:23 +0100 2008 with rcov 0.8.1.2
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.
1 require 'rubygems'
2 require 'ramaze'
3
4 class LinkingController < Ramaze::Controller
5 map '/'
6
7 def index
8 %{simple link <br/> <a href="#{Rs(:help)}">Help?</a>}
9 end
10
11 def new
12 "something new!"
13 end
14
15 def help
16 %{you have help <br/> <a href="#{R(LinkToController, :another)}">A Different Controller</a>}
17 end
18
19 end
20
21 class LinkToController < Ramaze::Controller
22 map '/link_to'
23
24 def another
25 %{<a href="#{R(LinkingController, :index)}">Back to Original Controller</a>}
26 end
27 end
28
29 Ramaze.start :adapter => :mongrel
Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.