Sha256: 8432f5f424fbc3fb14bf1fcc3eb3eb0a9b5cd57f293865e163702c8c7fc9e304

Contents?: true

Size: 448 Bytes

Versions: 2

Compression:

Stored size: 448 Bytes

Contents

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

require "bundler/setup"
require_relative "../lib/ruby_lsp/internal"
require "irb"

extend T::Sig

sig { params(source: String).returns(RubyLsp::Document) }
def new_doc(source)
  RubyLsp::Document.new(source)
end

@source = T.let(File.read(File.expand_path("../lib/ruby_lsp/handler.rb", __dir__)), String)
@document = T.let(new_doc(@source), RubyLsp::Document)

IRB.start(__FILE__)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-lsp-0.2.1 bin/console
ruby-lsp-0.2.0 bin/console