Do not exit when using as a library

This commit is contained in:
kojix2
2021-01-20 00:07:23 +09:00
parent 62cc6ba364
commit 8db1306e07
7 changed files with 19 additions and 8 deletions

View File

@@ -6,4 +6,10 @@ require 'youplot/dsv'
require 'youplot/command'
module YouPlot
class << self
attr_accessor :run_as_executable
def run_as_executable?
@run_as_executable
end
end
end