Class: RubyAMF::IntermediateObject
- Inherits:
-
Object
- Object
- RubyAMF::IntermediateObject
- Defined in:
- lib/rubyamf/intermediate_object.rb
Overview
IntermediateObject packages an object with its requested serialization options. This allows the pre-configured serialization configuration to be overridden as needed. They are automatically created by to_amf
and should not be generated manually.
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
-
#initialize(object, options) ⇒ IntermediateObject
constructor
A new instance of IntermediateObject.
- #rubyamf_hash ⇒ Object
Constructor Details
#initialize(object, options) ⇒ IntermediateObject
Returns a new instance of IntermediateObject.
9 10 11 12 |
# File 'lib/rubyamf/intermediate_object.rb', line 9 def initialize object, @object = object @options = end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
7 8 9 |
# File 'lib/rubyamf/intermediate_object.rb', line 7 def object @object end |
#options ⇒ Object
Returns the value of attribute options.
7 8 9 |
# File 'lib/rubyamf/intermediate_object.rb', line 7 def @options end |
Instance Method Details
#rubyamf_hash ⇒ Object
14 15 16 |
# File 'lib/rubyamf/intermediate_object.rb', line 14 def rubyamf_hash @object.rubyamf_hash @options end |