Method: Fuzz::FileObject::LinePointer#text_at
- Defined in:
- lib/fuzz/fzzr.rb
#text_at(offs) ⇒ Object
146 147 148 149 150 151 152 |
# File 'lib/fuzz/fzzr.rb', line 146 def text_at(offs) ln = @line_nr+offs if ln>=0 && ln<@lines.size return @lines[ln] end nil end |