123456789_123456789_123456789_123456789_123456789_

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

Instance Attribute Summary

Constructor Details

.new(name, binary_string) ⇒ UserDefined

[ GitHub ]

  
# 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