Class: Gem::SafeMarshal::Elements::WithIvars

Inherits:
Element
  • Object
show all
Defined in:
lib/rubygems/safe_marshal/elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ivarsObject (readonly)

Returns the value of attribute ivars.



94
95
96
# File 'lib/rubygems/safe_marshal/elements.rb', line 94

def ivars
  @ivars
end

#objectObject (readonly)

Returns the value of attribute object.



94
95
96
# File 'lib/rubygems/safe_marshal/elements.rb', line 94

def object
  @object
end