in lib/linguist/blob_helper.rb [232:240]
def lines @lines ||= if viewable? && data data.split(/\r\n|\r|\n/, -1) else [] end end