push
travis-ci
128 of 128 new or added lines in 6 files covered. (100.0%)
135 of 144 relevant lines covered (93.75%)
98.84 hits per line
|
module Baz |
5✔ |
2 |
|
|
|
include SuperModule
|
5✔ |
|
include Bar
|
5✔ |
|
make_barrable |
5✔ |
|
validates 'baz', {:presence => true} |
5✔ |
|
attr_reader :baz_factor
|
5✔ |
8 |
|
|
|
class << self |
5✔ |
|
def baz |
5✔ |
|
'self.baz'
|
× |
12 |
end
|
|
13 |
end
|
|
14 |
|
|
|
def initialize(baz_factor) |
5✔ |
|
puts "initialize_baz(#{baz_factor})"
|
18✔ |
|
super()
|
15✔ |
|
@baz_factor = baz_factor
|
15✔ |
19 |
end
|
|
20 |
|
|
|
def baz |
5✔ |
|
'baz'
|
5✔ |
23 |
end
|
|
24 |
|
|
|
def <=>(other) |
5✔ |
|
baz_factor <=> other.baz_factor |
5✔ |
27 |
end
|
|
28 |
|
|
29 |
end
|
|
30 |
|