Class: Gem::SafeMarshal::Elements::Integer
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
- 
  
    
      #int  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute int. 
Instance Method Summary collapse
- 
  
    
      #initialize(int)  ⇒ Integer 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Integer. 
Constructor Details
#initialize(int) ⇒ Integer
Returns a new instance of Integer.
| 68 69 70 | # File 'lib/rubygems/safe_marshal/elements.rb', line 68 def initialize(int) @int = int end | 
Instance Attribute Details
#int ⇒ Object (readonly)
Returns the value of attribute int.
| 72 73 74 | # File 'lib/rubygems/safe_marshal/elements.rb', line 72 def int @int end |