Module: Tins::LinesFile::LineExtension
- Defined in:
- lib/tins/lines_file.rb
Instance Attribute Summary collapse
-
#line_number ⇒ Object
readonly
Returns the value of attribute line_number.
Instance Method Summary collapse
Instance Attribute Details
#line_number ⇒ Object (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
#filename ⇒ Object
6 7 8 |
# File 'lib/tins/lines_file.rb', line 6 def filename lines_file.filename.dup end |