Skip to content

Commit d870f48

Browse files
committed
add sig
1 parent 58f33ee commit d870f48

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

sig/repl_completion.rbs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
module ReplCompletion
22
VERSION: String
3-
# See the writing guide of rbs: https://github.com/ruby/rbs#guides
3+
4+
class Result
5+
def completion_candidates: () -> Array[String]
6+
def doc_namespace: (String) -> String?
7+
end
8+
9+
def self.analyze: (String, Binding) -> Result?
10+
11+
def self.rbs_load_error: () -> Exception?
12+
def self.last_analyze_error: () -> Exception?
13+
14+
def self.rbs_load_started?: () -> bool
15+
def self.rbs_loaded?: () -> bool
16+
def self.load_rbs: () -> void
17+
def self.preload_rbs: () -> void
18+
def self.info: () -> String
419
end

0 commit comments

Comments
 (0)