Sha256: 4e36f1e5b9986edb27dd931364ef814385d0373c9ffcc5d2a75010952bfc8d49

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "grumlin"
require "irb"

Async do
  client = Grumlin::Client.new("ws://localhost:8182/gremlin", mode: :bytecode)
  g = Grumlin::Traversal.new(client)

  IRB.setup(nil)
  workspace = IRB::WorkSpace.new(binding)
  irb = IRB::Irb.new(workspace)
  irb.eval_input
rescue StandardError
  raise
ensure
  client.disconnect
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
grumlin-0.1.3 bin/console
grumlin-0.1.1 bin/console
grumlin-0.1.0 bin/console