class FixIt
Represents a fix-it that must be applied before a completion can be inserted.
Definitions
attr_reader :text, :range
Signature
-
attribute
r text
-
returns
String The replacement text.
-
returns
-
attribute
r range
-
returns
SourceRange The source range to replace.
-
returns
def initialize(text, range)
Initialize a fix-it.
Signature
-
parameter
textString The replacement text.
-
parameter
rangeSourceRange The source range to replace.
Implementation
def initialize(text, range)
@text = text
@range = range
end