Update R/lines-methods.R

Changed lines function not to refer to variable m