bin/console in grumlin-0.12.3 vs bin/console in grumlin-0.12.4
- old
+ new
@@ -1,23 +1,20 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
require "bundler/setup"
require "grumlin"
+
require "irb"
+require "irb/completion"
Grumlin.configure do |config|
config.url = ENV["GREMLIN_URL"] || "ws://localhost:8182/gremlin"
end
Async do
include Grumlin::Sugar
- IRB.setup(nil)
- workspace = IRB::WorkSpace.new(binding)
- irb = IRB::Irb.new(workspace)
- irb.eval_input
-rescue StandardError
- raise
+ IRB.start
ensure
Grumlin.close
end