README.md in vtools-0.0.3 vs README.md in vtools-0.1.0

- old
+ new

@@ -17,11 +17,11 @@ ### Getting started Before start, daemon should be configured correctly, to have valid access to the storage. Mandatory methods are: **connect**, **recv** and **send**. -``` ruby +```ruby #--file library.rb--# # encoding: binary #to setup storage: VTools::Storage.setup do @@ -101,30 +101,30 @@ ### Using logger By default the `logger` gem is used. But there is possibility to set custom logger, that is compatible with the default logger. -``` ruby +```ruby VTools.logger = CustomLoger.new($stdout) ``` ### Additioinal methods Path generator is used by the thumnailer, converter or both to generate necessary dir tree logic for the media. It accepts file name and should return relative path (excluding file name itself) -``` ruby +```ruby # path generator (used to ) VTools.path_generator do |file_name| # .. "#{file_name[0..2]}/{file_name[2..4]}" end ``` **Network calls** (TCP GET request, that will return message body content, ignoring response headers) -``` ruby +```ruby # http calls VTools.network_call "site.com/some/uri" VTools.network_call "www.site.com" VTools.network_call "http://www.site.com"