mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-12-16 03:08:54 +08:00
Do not exit when using as a library
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user