diff --git a/lib/gitlab/blob_snippet.rb b/lib/gitlab/blob_snippet.rb deleted file mode 100644 index 842a17330952185280d91b9163d12d347f0237a2..0000000000000000000000000000000000000000 --- a/lib/gitlab/blob_snippet.rb +++ /dev/null @@ -1,32 +0,0 @@ -module Gitlab - class BlobSnippet - include Linguist::BlobHelper - - attr_accessor :project - attr_accessor :tree - attr_accessor :lines - attr_accessor :filename - attr_accessor :startline - - def initialize(project, tree, lines, startline, filename) - @project, @tree, @lines, @startline, @filename = project, tree, lines, startline, filename - end - - def data - lines.join("\n") - end - - def name - filename - end - - def size - data.length - end - - def mode - nil - end - - end -end \ No newline at end of file