Skip to content

Commit 1fc8bca

Browse files
committed
refactor: make BANNER constant private
1 parent 5dc4fb9 commit 1fc8bca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exe/revert-github-release

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Parser
7676
COMMAND
7777
end
7878

79-
private_constant BANNER = <<~BANNER.freeze
79+
BANNER = <<~BANNER.freeze
8080
Usage:
8181
#{File.basename($PROGRAM_NAME)} [--help | --version]
8282
@@ -96,6 +96,7 @@ class Parser
9696
9797
Options:
9898
BANNER
99+
private_constant :BANNER
99100

100101
# Define the options for OptionParser
101102
# @return [void]

0 commit comments

Comments
 (0)