mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
24 lines
264 B
Ruby
24 lines
264 B
Ruby
require 'linguist/blob_helper'
|
|
|
|
module Linguist
|
|
class Blob
|
|
include BlobHelper
|
|
|
|
def initialize(blob)
|
|
@blob = blob
|
|
end
|
|
|
|
def name
|
|
@blob.name
|
|
end
|
|
|
|
def data
|
|
@blob.data
|
|
end
|
|
|
|
def size
|
|
@blob.size
|
|
end
|
|
end
|
|
end
|