Sha256: f7a894711d4197b702574bb1d9c2ecd931cd3c4ebc704045c932e459d4ea860f

Contents?: true

Size: 110 Bytes

Versions: 4

Compression:

Stored size: 110 Bytes

Contents

module Bencoding
  module String
    
    def to_bencoding
      length.to_s+":"+self
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simonmenke-bencoding-0.0.1 lib/bencoding/string.rb
simonmenke-bencoding-0.0.2 lib/bencoding/string.rb
simonmenke-bencoding-0.0.3 lib/bencoding/string.rb
simonmenke-bencoding-0.0.4 lib/bencoding/string.rb