Method: Fuzz::FileObject::LinePointer#move

Defined in:
lib/fuzz/fzzr.rb

#move(offs) ⇒ Object



166
167
168
169
170
171
172
173
# File 'lib/fuzz/fzzr.rb', line 166

def move(offs)
  if offs < 0
    _backward(-offs) unless bof?
  else
    _forward(offs) unless eof?
  end
  self.line_nr
end