Class: Canopus::Workspace::GitBlameSnapshot

Inherits:
Data
  • Object
show all
Defined in:
sig/workspace_services.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#key ⇒ Array[untyped] (readonly)

Returns the value of attribute key.

Returns:

  • (Array[untyped])


142
143
144
# File 'sig/workspace_services.rbs', line 142

def key
  @key
end

#lines ⇒ Array[GitBlameLine?] (readonly)

Returns the value of attribute lines.

Returns:



143
144
145
# File 'sig/workspace_services.rbs', line 143

def lines
  @lines
end

#reason ⇒ String? (readonly)

Returns the value of attribute reason.

Returns:

  • (String, nil)


144
145
146
# File 'sig/workspace_services.rbs', line 144

def reason
  @reason
end

Class Method Details

.new ⇒ instance

Parameters:

  • key (Array[untyped])
  • lines (Array[GitBlameLine?])
  • reason (String, nil)

Returns:

  • (instance)


145
# File 'sig/workspace_services.rbs', line 145

def self.new: (Array[untyped] key, Array[GitBlameLine?] lines, String? reason) -> instance