README.txt in simonmenke-bencoding-0.0.2 vs README.txt in simonmenke-bencoding-0.0.3
- old
+ new
@@ -11,9 +11,14 @@
* load bencoded data as ruby objects.
* dump ruby objects as bencoded data.
== SYNOPSIS:
+ Bencoding.load(path)
+ Bencoding.load(url)
+ Bencoding.load(string)
+ Bencoding.load(io)
+
File.open("path/to/file.bencoding", "r") do |f|
data = Bencoding.load(f)
end
{ 'data' => [1, "two"] }.to_bencoding
\ No newline at end of file