Class: Canopus::Provider::Completion

Inherits:
Data
  • Object
show all
Defined in:
lib/canopus/provider.rb,
sig/provider.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#additional_edits ⇒ Object (readonly)

Returns the value of attribute additional_edits

Returns:

  • (Object) —

    the current value of additional_edits



5
6
7
# File 'lib/canopus/provider.rb', line 5

def additional_edits
  @additional_edits
end

#detail ⇒ Object (readonly)

Returns the value of attribute detail

Returns:

  • (Object) —

    the current value of detail



5
6
7
# File 'lib/canopus/provider.rb', line 5

def detail
  @detail
end

#documentation ⇒ Object (readonly)

Returns the value of attribute documentation

Returns:

  • (Object) —

    the current value of documentation



5
6
7
# File 'lib/canopus/provider.rb', line 5

def documentation
  @documentation
end

#filter_text ⇒ Object (readonly)

Returns the value of attribute filter_text

Returns:

  • (Object) —

    the current value of filter_text



5
6
7
# File 'lib/canopus/provider.rb', line 5

def filter_text
  @filter_text
end

#insert_text ⇒ Object (readonly)

Returns the value of attribute insert_text

Returns:

  • (Object) —

    the current value of insert_text



5
6
7
# File 'lib/canopus/provider.rb', line 5

def insert_text
  @insert_text
end

#kind ⇒ Object (readonly)

Returns the value of attribute kind

Returns:

  • (Object) —

    the current value of kind



5
6
7
# File 'lib/canopus/provider.rb', line 5

def kind
  @kind
end

#label ⇒ Object (readonly)

Returns the value of attribute label

Returns:

  • (Object) —

    the current value of label



5
6
7
# File 'lib/canopus/provider.rb', line 5

def label
  @label
end

#sort_text ⇒ Object (readonly)

Returns the value of attribute sort_text

Returns:

  • (Object) —

    the current value of sort_text



5
6
7
# File 'lib/canopus/provider.rb', line 5

def sort_text
  @sort_text
end

#source ⇒ Object (readonly)

Returns the value of attribute source

Returns:

  • (Object) —

    the current value of source



5
6
7
# File 'lib/canopus/provider.rb', line 5

def source
  @source
end

Class Method Details

.new ⇒ Object



13
# File 'sig/provider.rbs', line 13

def self.new: (String label, String? insert_text, untyped kind, String? detail, String? documentation,