Class: Rubino::Compression::LineSkeleton::Elision

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubino/compression/line_skeleton.rb

Overview

One elided body: the splice the skeletoner performs and the pointer it leaves behind. ‘first_line`/`line_count` are the 1-based read window into the ORIGINAL file (so a `read offset=first_line limit=line_count` returns exactly these bytes — the drill-in invariant).

Instance Attribute Summary collapse

Instance Attribute Details

#first_lineObject

Returns the value of attribute first_line

Returns:

  • (Object)

    the current value of first_line



26
27
28
# File 'lib/rubino/compression/line_skeleton.rb', line 26

def first_line
  @first_line
end

#indentObject

Returns the value of attribute indent

Returns:

  • (Object)

    the current value of indent



26
27
28
# File 'lib/rubino/compression/line_skeleton.rb', line 26

def indent
  @indent
end

#line_countObject

Returns the value of attribute line_count

Returns:

  • (Object)

    the current value of line_count



26
27
28
# File 'lib/rubino/compression/line_skeleton.rb', line 26

def line_count
  @line_count
end