C0 code coverage information
Generated on Tue Nov 04 04:48:28 -0200 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
class Object 2
3 # Syntax sugar for
"is this object among this array?" 4 # 5 # 1.among? [1,2,3] #=> true 6 # 0.among? [4,5] #=> false
7 # 8 def among?(ary) 9 ary.include? self 10 end 11 12 end
Generated using the rcov
code coverage analysis tool for Ruby version 0.8.1.2.