Module: Ruvi::NewLineAttributes

Included in:
BufferLine, LineSlice
Defined in:
lib/misc.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#newline_at_endObject

Returns the value of attribute newline_at_end.



21
22
23
# File 'lib/misc.rb', line 21

def newline_at_end
  @newline_at_end
end

#newline_at_startObject

Returns the value of attribute newline_at_start.



21
22
23
# File 'lib/misc.rb', line 21

def newline_at_start
  @newline_at_start
end

Instance Method Details

#inspectObject



22
23
24
# File 'lib/misc.rb', line 22

def inspect
    super + " (#{newline_at_start}-S:#{newline_at_end}-E)"
end