Class: Factbase::ToYAML
- Inherits:
 - 
      Object
      
        
- Object
 - Factbase::ToYAML
 
 
- Defined in:
 - lib/factbase/to_yaml.rb
 
Overview
Instance Method Summary collapse
- 
  
    
      #initialize(fb, sorter = '_id')  ⇒ ToYAML 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
Constructor.
 - 
  
    
      #yaml  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    
Convert the entire factbase into YAML.
 
Constructor Details
#initialize(fb, sorter = '_id') ⇒ ToYAML
Constructor.
      40 41 42 43  | 
    
      # File 'lib/factbase/to_yaml.rb', line 40 def initialize(fb, sorter = '_id') @fb = fb @sorter = sorter end  |