We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6a25d commit 6f04b1eCopy full SHA for 6f04b1e
lib/skunk/cli/options/argv.rb
@@ -11,10 +11,6 @@ class Options
11
class Argv < RubyCritic::Cli::Options::Argv
12
attr_reader :output_filename
13
14
- def initialize(argv)
15
- super
16
- end
17
-
18
def parse # rubocop:disable Metrics/MethodLength
19
parser.new do |opts|
20
opts.banner = "Usage: skunk [options] [paths]\n"
@@ -26,7 +22,7 @@ def parse # rubocop:disable Metrics/MethodLength
26
22
end
27
23
28
24
opts.on("-o", "--out FILE", "Output report to file") do |filename|
29
- @output_filename = String(filename)
25
+ @output_filename = filename
30
31
32
opts.on_tail("-v", "--version", "Show gem's version") do
0 commit comments