Rename MemoryBlob to Blob

This commit is contained in:
Paul Chaignon
2015-08-19 17:29:35 +02:00
parent 5a646384f6
commit eca10056a8
3 changed files with 6 additions and 6 deletions

View File

@@ -1,11 +1,11 @@
require 'linguist/blob_helper'
require 'linguist/memory_blob'
require 'linguist/blob'
module Linguist
# A FileBlob is a wrapper around a File object to make it quack
# like a Grit::Blob. It provides the basic interface: `name`,
# `data`, `path` and `size`.
class FileBlob < MemoryBlob
class FileBlob < Blob
include BlobHelper
# Public: Initialize a new FileBlob from a path