| Class | RubyTorrent::TypedStruct |
| In: |
lib/rubytorrent/typedstruct.rb
|
| Parent: | Object |
type-checking struct meant for easy translation from and to bencoded dicts.
| dirty | [RW] | |
| fields | [R] |
given a Hash from a bencoded dict, parses it according to the rules you‘ve set up with field, required, label, etc.