mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-12-16 03:08:54 +08:00
Set the Gem Ruby version to 2.6 or higher
This commit is contained in:
@@ -164,8 +164,8 @@ module YouPlot
|
||||
end
|
||||
|
||||
def sub_parser_add_canvas
|
||||
canvas_types = UnicodePlot::Canvas::CANVAS_CLASS_MAP.keys.join(", ")
|
||||
sub_parser.on_head('--canvas STR', String, "type of canvas", "(#{canvas_types})") do |v|
|
||||
canvas_types = UnicodePlot::Canvas::CANVAS_CLASS_MAP.keys.join(', ')
|
||||
sub_parser.on_head('--canvas STR', String, 'type of canvas', "(#{canvas_types})") do |v|
|
||||
params.canvas = v.to_sym
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user