Sha256: 5aecd5a065a8685863a0c45a57cc5d0b31f375ba8318210ecbedeed63f655a2e

Contents?: true

Size: 409 Bytes

Versions: 4

Compression:

Stored size: 409 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.close
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
grumlin-0.12.3 bin/console
grumlin-0.12.2 bin/console
grumlin-0.12.1 bin/console
grumlin-0.12.0 bin/console