Class: Canopus::Workspace::GitBlameLine

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#author ⇒ String (readonly)

Returns the value of attribute author.

Returns:

  • (String)


136
137
138
# File 'sig/workspace_services.rbs', line 136

def author
  @author
end

#commit ⇒ String (readonly)

Returns the value of attribute commit.

Returns:

  • (String)


135
136
137
# File 'sig/workspace_services.rbs', line 135

def commit
  @commit
end

#original_line ⇒ Integer (readonly)

Returns the value of attribute original_line.

Returns:

  • (Integer)


137
138
139
# File 'sig/workspace_services.rbs', line 137

def original_line
  @original_line
end

#path ⇒ String (readonly)

Returns the value of attribute path.

Returns:

  • (String)


138
139
140
# File 'sig/workspace_services.rbs', line 138

def path
  @path
end

Class Method Details

.new ⇒ instance

Parameters:

  • commit (String)
  • author (String)
  • original_line (Integer)
  • path (String)

Returns:

  • (instance)


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

def self.new: (String commit, String author, Integer original_line, String path) -> instance