From dcb0c0db7b7754335c593e12921c0438ac6ad2d8 Mon Sep 17 00:00:00 2001 From: takahashim Date: Sun, 23 May 2021 15:52:56 +0900 Subject: [PATCH] epub2html: add execute_with_params() to use without ARGV --- lib/review/epub2html.rb | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/lib/review/epub2html.rb b/lib/review/epub2html.rb index 3ed4e3600..3f7182e42 100644 --- a/lib/review/epub2html.rb +++ b/lib/review/epub2html.rb @@ -23,7 +23,7 @@ def self.execute(*args) new.execute(*args) end - def execute(*args) + def parse_options!(*args) opts = OptionParser.new opts.banner = <