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
- .new(name, wrapped_object) ⇒ UserClass constructor
Instance Attribute Summary
- #name readonly
- #wrapped_object readonly
Constructor Details
.new(name, wrapped_object) ⇒ UserClass
# 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