C0 code coverage information
Generated on Sun Jul 06 22:30:58 +0900 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
2 require "rubygems"
3 require "gettext"
4 require "resolv-replace"
5
6 require "nkf"
7 class String
8
9 def to_jis
10 NKF.nkf('-j -m0', self)
11 end
12 def to_euc
13 NKF.nkf('-e -m0', self)
14 end
15 def to_sjis
16 NKF.nkf('-s -m0', self)
17 end
18 def to_u8
19 NKF.nkf('-w -m0', self)
20 end
21 def to_u16
22 NKF.nkf('-w16 -m0', self)
23 end
24
25 def unindent(leading=nil)
26 gsub(/^#{self[Regexp.union(leading || /\A(?:\t+| +)/)]}/, "")
27 end
28 end
29
Generated using the rcov code coverage analysis tool for Ruby
version 0.8.1.2.