From 362d300cb021f11fe1c66f69b7f1bb0c246f01b0 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Mon, 26 Oct 2015 09:06:42 +0000 Subject: [PATCH] Blob not FileBlob --- lib/linguist/blob.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linguist/blob.rb b/lib/linguist/blob.rb index 1be9f0b2..a11e6074 100644 --- a/lib/linguist/blob.rb +++ b/lib/linguist/blob.rb @@ -12,7 +12,7 @@ module Linguist # path - A path String (does not necessarily exists on the file system). # content - Content of the file. # - # Returns a FileBlob. + # Returns a Blob. def initialize(path, content) @path = path @content = content @@ -58,7 +58,7 @@ module Linguist # Public: Return an array of the file extensions # - # >> Linguist::FileBlob.new("app/views/things/index.html.erb").extensions + # >> Linguist::Blob.new("app/views/things/index.html.erb").extensions # => [".html.erb", ".erb"] # # Returns an Array