mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-15 15:38:14 +08:00
Rubocop auto correct
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'unicode_plot'
|
||||
require 'uplot/version'
|
||||
require 'uplot/preprocessing'
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'preprocessing'
|
||||
require_relative 'command/parser'
|
||||
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Uplot
|
||||
class Command
|
||||
Params = Struct.new(
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'optparse'
|
||||
require_relative 'params'
|
||||
|
||||
@@ -211,7 +213,7 @@ module Uplot
|
||||
|
||||
@command = argv.shift&.to_sym
|
||||
|
||||
unless sub_parsers.has_key?(command)
|
||||
unless sub_parsers.key?(command)
|
||||
if command.nil?
|
||||
warn main_parser.help
|
||||
else
|
||||
@@ -228,7 +230,6 @@ module Uplot
|
||||
exit 1
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'unicode_plot'
|
||||
|
||||
module Uplot
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'csv'
|
||||
|
||||
module Uplot
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Uplot
|
||||
VERSION = '0.2.3'.freeze
|
||||
VERSION = '0.2.3'
|
||||
end
|
||||
|
Reference in New Issue
Block a user