travis-ci
100 of 100 new or added lines in 4 files covered. (100.0%)
6453 of 12435 relevant lines covered (51.89%)
76.94 hits per line
1 |
module Pod |
1✔ |
2 |
class Command |
1✔ |
3 |
class Help < Command |
1✔ |
4 |
self.summary = 'Show help for the given command.' |
1✔ |
5 |
self.arguments = '[COMMAND]' |
1✔ |
6 |
|
|
7 |
def initialize(argv) |
1✔ |
8 |
@help_command = Pod::Command.parse(argv) |
× |
9 |
super
|
× |
10 |
end
|
|
11 |
|
|
12 |
def run |
1✔ |
13 |
help_command.help! |
× |
14 |
end
|
|
15 |
|
|
16 |
private |
1✔ |
17 |
|
|
18 |
def help_command |
1✔ |
19 |
@help_command
|
× |
20 |
end
|
|
21 |
end
|
|
22 |
end
|
|
23 |
end
|