C0 code coverage information
Generated on Sat Feb 02 17:44:28 +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 # Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
2 # All files in this distribution are subject to the terms of the Ruby license.
3
4 # A convenient way to do File.join
5 #
6 # Example:
7 # 'a' / 'b' # -> 'a/b'
8 # File.dirname(__FILE__) / 'bar' # -> "ramaze/snippets/string/bar"
9
10 class String
11 def / obj
12 File.join(self, obj.to_s)
13 end
14 end
15
16 class Symbol
17 def / obj
18 self.to_s / obj
19 end
20 end
Generated using the rcov code coverage analysis tool for Ruby version 0.8.1.2.