Class: Ryac::Pipeline::FileBoundary

Inherits:
Data
  • Object
show all
Defined in:
lib/ryac/pipeline/data_types.rb,
sig/ryac/pipeline/data_types.rbs

Overview

Source map entry for tracking file boundaries in concatenated output

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#end_line ⇒ Object (readonly)

Returns the value of attribute end_line

Returns:

  • (Object) —

    the current value of end_line



80
81
82
# File 'lib/ryac/pipeline/data_types.rb', line 80

def end_line
  @end_line
end

#path ⇒ Object (readonly)

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



80
81
82
# File 'lib/ryac/pipeline/data_types.rb', line 80

def path
  @path
end

#start_line ⇒ Object (readonly)

Returns the value of attribute start_line

Returns:

  • (Object) —

    the current value of start_line



80
81
82
# File 'lib/ryac/pipeline/data_types.rb', line 80

def start_line
  @start_line
end

Class Method Details

.new ⇒ FileBoundary

Parameters:

  • path: (String)
  • start_line: (Integer)
  • end_line: (Integer)

Returns:



35
# File 'sig/ryac/pipeline/data_types.rbs', line 35

def self.new: (path: String, start_line: Integer, end_line: Integer) -> FileBoundary