diff --git a/README.md b/README.md index 76bc0501..e55a8f29 100644 --- a/README.md +++ b/README.md @@ -148,12 +148,12 @@ For example, the following repository has a large Javascript file in an unusual ``` > cat .gitattributes special-vendored-path/* linguist-vendored=true - -> irb -> require 'linguist' -> repo = Rugged::Repository.new('.') #to read .gitattributes data we need the git repository -> sha = repo.head.target_id #current commit -> blob = Linguist::LazyBlob.new(repo, sha, 'special-vendored-path/massive-js-file.js').vendored? +``` +```ruby +require 'linguist' +repo = Rugged::Repository.new('.') #to read .gitattributes data we need the git repository +sha = repo.head.target_id #current commit +blob = Linguist::LazyBlob.new(repo, sha, 'special-vendored-path/massive-js-file.js').vendored? => true ```