travis-ci
320 of 320 new or added lines in 20 files covered. (100.0%)
552 of 738 relevant lines covered (74.8%)
49735.38 hits per line
|
module AnyStyle |
1✔ |
2 |
|
|
3 |
def self.parse(*arguments) |
1✔ |
4 |
Parser::Parser.instance.parse(*arguments) |
× |
5 |
end
|
|
6 |
|
|
7 |
def self.parser |
1✔ |
8 |
Parser::Parser.instance |
15✔ |
9 |
end
|
|
10 |
|
|
11 |
def self.dictionary |
1✔ |
12 |
Parser::Dictionary.instance |
× |
13 |
end
|
|
14 |
|
|
15 |
module Parser |
1✔ |
16 |
def self.instance |
1✔ |
17 |
Parser.instance
|
× |
18 |
end
|
|
19 |
end
|
|
20 |
|
|
|
module Util |
1✔ |
|
module_function |
1✔ |
23 |
|
|
|
def maybe_require(mod) |
1✔ |
|
require mod |
1✔ |
|
yield if block_given? |
1✔ |
27 |
rescue LoadError |
|
28 |
# ignore
|
|
29 |
end
|
|
30 |
end
|
|
31 |
end
|