Class: MethodHash
- Inherits:
 - 
      Hash
      
        
- Object
 - Hash
 - MethodHash
 
 
- Includes:
 - MethodHashMethods
 
- Defined in:
 - lib/method_hash.rb
 
Overview
Implements a Hash using the method Hash functionality
Instance Method Summary collapse
- #to_ary ⇒ Object
 - 
  
    
      #to_s  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
To make ruby 1.8.7 compatible with ruby 1.9 and higher.
 - 
  
    
      #to_str  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
To make ruby 1.8.7 compatible with ruby 1.9 and higher.
 
Methods included from MethodHashMethods
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class MethodHashMethods
Instance Method Details
#to_ary ⇒ Object
      52 53 54  | 
    
      # File 'lib/method_hash.rb', line 52 def to_ary nil end  | 
  
#to_s ⇒ Object
To make ruby 1.8.7 compatible with ruby 1.9 and higher
      41 42 43  | 
    
      # File 'lib/method_hash.rb', line 41 def to_s inspect end  | 
  
#to_str ⇒ Object
To make ruby 1.8.7 compatible with ruby 1.9 and higher
      48 49 50  | 
    
      # File 'lib/method_hash.rb', line 48 def to_str inspect end  |