Class: Gem::SafeMarshal::Elements::SymbolLink

Inherits:
Element
  • Object
show all
Defined in:
lib/rubygems/safe_marshal/elements.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset) ⇒ SymbolLink

Returns a new instance of SymbolLink.



116
117
118
# File 'lib/rubygems/safe_marshal/elements.rb', line 116

def initialize(offset)
  @offset = offset
end

Instance Attribute Details

#offsetObject (readonly)

Returns the value of attribute offset.



119
120
121
# File 'lib/rubygems/safe_marshal/elements.rb', line 119

def offset
  @offset
end