Class: Gem::SafeMarshal::Elements::WithIvars
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
-
#ivars ⇒ Object
readonly
Returns the value of attribute ivars.
-
#object ⇒ Object
readonly
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object, ivars) ⇒ WithIvars
constructor
A new instance of WithIvars.
Constructor Details
#initialize(object, ivars) ⇒ WithIvars
Returns a new instance of WithIvars.
89 90 91 92 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 89 def initialize(object, ivars) @object = object @ivars = ivars end |
Instance Attribute Details
#ivars ⇒ Object (readonly)
Returns the value of attribute ivars.
94 95 96 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 94 def ivars @ivars end |
#object ⇒ Object (readonly)
Returns the value of attribute object.
94 95 96 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 94 def object @object end |