lib/dri/commands/faq.rb in dri-0.10.2 vs lib/dri/commands/faq.rb in dri-0.11.0
- old
+ new
@@ -7,10 +7,10 @@
module Dri
module Commands
class FAQ < Dri::Command
ExitCommand = Class.new(StandardError)
- def execute(input: $stdin, output: $stdout)
+ def execute(*)
root_dir = File.expand_path('../../..', __dir__)
faq_file = File.join(root_dir, 'faq.yaml')
faq_data = YAML.load_file(faq_file)
prompt = TTY::Prompt.new