Skip to content

Commit 5c58f04

Browse files
authored
Merge pull request #221 from github/pretty-print-compatibility
Rename pretty_print alias to summary
2 parents 0e66dee + 727f58b commit 5c58f04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/github-pages-health-check/checkable.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def to_s
4848
printer.simple_string
4949
end
5050

51-
def to_s_pretty(*)
51+
def to_s_pretty
5252
printer.pretty_print
5353
end
54-
alias pretty_print to_s_pretty
54+
alias summary to_s_pretty
5555

5656
private
5757

0 commit comments

Comments
 (0)