Class: ODDB::Export::Yaml::Drugs

Inherits:
Object
  • Object
show all
Defined in:
lib/oddb/export/yaml.rb

Instance Method Summary collapse

Instance Method Details

#export(io) ⇒ Object



117
118
119
# File 'lib/oddb/export/yaml.rb', line 117

def export(io)
  ODDB::Drugs::Product.all { |product| io.puts product.to_yaml }
end