Class: Rencoder::Coder
- Inherits:
-
Object
- Object
- Rencoder::Coder
- Defined in:
- lib/rencoder/coder.rb
Overview
Rencode format encoder/decoder class
Constant Summary
Constants included from Decoder
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Coder
constructor
A new instance of Coder.
Methods included from Decoder
Methods included from Encoder
#encode, #encode_array, #encode_boolean, #encode_float, #encode_hash, #encode_integer, #encode_nil, #encode_string
Constructor Details
#initialize(options = {}) ⇒ Coder
Returns a new instance of Coder.
8 9 10 |
# File 'lib/rencoder/coder.rb', line 8 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
6 7 8 |
# File 'lib/rencoder/coder.rb', line 6 def @options end |