mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Fix blob class name
This commit is contained in:
@@ -30,10 +30,10 @@ Features
|
|||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
file = Linguist::Blob.new("linguist.rb")
|
file = Linguist::FileBlob.new("linguist.rb")
|
||||||
file.language.name #=> "Ruby"
|
file.language.name #=> "Ruby"
|
||||||
|
|
||||||
file = Linguist::Blob.new("linguist.gem")
|
file = Linguist::FileBlob.new("linguist.gem")
|
||||||
file.binary? #=> true
|
file.binary? #=> true
|
||||||
|
|
||||||
project = Linguist::Repository.new(".")
|
project = Linguist::Repository.new(".")
|
||||||
|
|||||||
Reference in New Issue
Block a user