Method: Factbase::ToYAML#yaml
- Defined in:
- lib/factbase/to_yaml.rb
#yaml ⇒ String
Convert the entire factbase into YAML.
30 31 32 |
# File 'lib/factbase/to_yaml.rb', line 30 def yaml YAML.dump(Factbase::Flatten.new(Marshal.load(@fb.export), @sorter).it) end |