Class: Rencoder::Coder
- Inherits:
-
Object
- Object
- Rencoder::Coder
- Defined in:
- lib/rencoder/coder.rb
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.
5 6 7 |
# File 'lib/rencoder/coder.rb', line 5 def initialize( = {}) @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/rencoder/coder.rb', line 3 def @options end |