From 83f358976e347b63083fc25104a9e2f9dde5f4c3 Mon Sep 17 00:00:00 2001 From: Arfon Smith Date: Tue, 20 Oct 2015 12:33:43 +0100 Subject: [PATCH] Fixing up some old MemoryBlob references --- lib/linguist/blob.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/linguist/blob.rb b/lib/linguist/blob.rb index 8131d9b8..1be9f0b2 100644 --- a/lib/linguist/blob.rb +++ b/lib/linguist/blob.rb @@ -1,13 +1,13 @@ require 'linguist/blob_helper' module Linguist - # A MemoryBlob is a wrapper around the content of a file to make it quack + # A Blob is a wrapper around the content of a file to make it quack # like a Grit::Blob. It provides the basic interface: `name`, # `data`, `path` and `size`. class Blob include BlobHelper - # Public: Initialize a new MemoryBlob. + # Public: Initialize a new Blob. # # path - A path String (does not necessarily exists on the file system). # content - Content of the file. @@ -22,7 +22,7 @@ module Linguist # # Examples # - # MemoryBlob.new("/path/to/linguist/lib/linguist.rb", "").path + # Blob.new("/path/to/linguist/lib/linguist.rb", "").path # # => "/path/to/linguist/lib/linguist.rb" # # Returns a String