123456789_123456789_123456789_123456789_123456789_

Class: Gem::SafeMarshal::Elements::UserClass

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Element
Instance Chain:
self, Element
Inherits: Gem::SafeMarshal::Elements::Element
Defined in: lib/rubygems/safe_marshal/elements.rb

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(name, wrapped_object) ⇒ UserClass

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 138

def initialize(name, wrapped_object)
  @name = name
  @wrapped_object = wrapped_object
end

Instance Attribute Details

#name (readonly)

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 142

attr_reader :name, :wrapped_object

#wrapped_object (readonly)

[ GitHub ]

  
# File 'lib/rubygems/safe_marshal/elements.rb', line 142

attr_reader :name, :wrapped_object