Class: Gem::SafeMarshal::Elements::ObjectLink
- 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)  ⇒ ObjectLink 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ObjectLink. 
Constructor Details
#initialize(offset) ⇒ ObjectLink
Returns a new instance of ObjectLink.
| 109 110 111 | # File 'lib/rubygems/safe_marshal/elements.rb', line 109 def initialize(offset) @offset = offset end | 
Instance Attribute Details
#offset ⇒ Object (readonly)
Returns the value of attribute offset.
| 112 113 114 | # File 'lib/rubygems/safe_marshal/elements.rb', line 112 def offset @offset end |