Class: Gem::SafeMarshal::Elements::Float
- Defined in:
- lib/rubygems/safe_marshal/elements.rb
Instance Attribute Summary collapse
- 
  
    
      #string  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute string. 
Instance Method Summary collapse
- 
  
    
      #initialize(string)  ⇒ Float 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Float. 
Constructor Details
#initialize(string) ⇒ Float
Returns a new instance of Float.
| 123 124 125 | # File 'lib/rubygems/safe_marshal/elements.rb', line 123 def initialize(string) @string = string end | 
Instance Attribute Details
#string ⇒ Object (readonly)
Returns the value of attribute string.
| 126 127 128 | # File 'lib/rubygems/safe_marshal/elements.rb', line 126 def string @string end |