Sha256: 7a8896254607b19e7b2cf9ad0847729e19d5b4744e613156c5da9b2878b8728f
Contents?: true
Size: 429 Bytes
Versions: 9
Compression:
Stored size: 429 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true require "bundler/setup" require "grumlin" require "irb" 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 ensure Grumlin.config.default_pool.close end
Version data entries
9 entries across 9 versions & 1 rubygems