Class: RubyLsp::Document::Edit Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_lsp/document.rb

Overview

This class is abstract.

Direct Known Subclasses

Delete, Insert, Replace

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(range) ⇒ Edit

: (Hash[Symbol, untyped] range) -> void



168
169
170
# File 'lib/ruby_lsp/document.rb', line 168

def initialize(range)
  @range = range
end

Instance Attribute Details

#rangeObject (readonly)

: Hash[Symbol, untyped]



165
166
167
# File 'lib/ruby_lsp/document.rb', line 165

def range
  @range
end