Module: Tins::LinesFile::LineExtension

Defined in:
lib/tins/lines_file.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#line_numberObject (readonly)

Returns the value of attribute line_number.



4
5
6
# File 'lib/tins/lines_file.rb', line 4

def line_number
  @line_number
end

Instance Method Details

#filenameObject



6
7
8
# File 'lib/tins/lines_file.rb', line 6

def filename
  lines_file.filename.dup
end