Class: Gem::SafeMarshal::Elements::UserDefined
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, binary_string) ⇒ UserDefined constructor
Instance Attribute Summary
- #binary_string readonly
- #name readonly
Constructor Details
.new(name, binary_string) ⇒ UserDefined
# File 'lib/rubygems/safe_marshal/elements.rb', line 17
def initialize(name, binary_string) @name = name @binary_string = binary_string end
Instance Attribute Details
#binary_string (readonly)
[ GitHub ]# File 'lib/rubygems/safe_marshal/elements.rb', line 22
attr_reader :name, :binary_string
#name (readonly)
[ GitHub ]# File 'lib/rubygems/safe_marshal/elements.rb', line 22
attr_reader :name, :binary_string