123456789_123456789_123456789_123456789_123456789_

Class: Gem::SafeMarshal::Elements::UserMarshal

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, data) ⇒ UserMarshal

[ GitHub ]

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

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

Instance Attribute Details

#data (readonly)

[ GitHub ]

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

attr_reader :name, :data

#name (readonly)

[ GitHub ]

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

attr_reader :name, :data