Class: Gem::SafeMarshal::Elements::SymbolLink
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
-
#offset ⇒ Object
readonly
Returns the value of attribute offset.
Instance Method Summary collapse
-
#initialize(offset) ⇒ SymbolLink
constructor
A new instance of SymbolLink.
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
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
119 120 121 |
# File 'lib/rubygems/safe_marshal/elements.rb', line 119 def offset @offset end |