Module: ODDB::OddbYaml

Included in:
ActiveAgent, Address2, AtcClass, AtcClass::DDD, CommercialForm, Company, Composition, CyP450, CyP450Connection, Doctor, Dose, Fachinfo, FachinfoDocument, FachinfoDocument2001, GalenicForm, GalenicGroup, Indication, Interaction::AbstractLink, LimitationText, Narcotic, Package, Part, Patinfo, PatinfoDocument, PatinfoDocument2001, Registration, Sequence, SimpleLanguage::Descriptions, SlEntry, Substance, Text::Chapter, Text::Document, Text::Format, Text::ImageLink, Text::Paragraph, Text::Section, Util::Money
Defined in:
ext/export/src/oddb_yaml.rb

Constant Summary

YAML_URI =
'!oddb.org,2003'
EXPORT_PROPERTIES =
[]

Instance Method Summary (collapse)

Instance Method Details

- (Object) to_yaml_properties



25
26
27
# File 'ext/export/src/oddb_yaml.rb', line 25

def to_yaml_properties
  self::class::EXPORT_PROPERTIES
end

- (Object) to_yaml_type



22
23
24
# File 'ext/export/src/oddb_yaml.rb', line 22

def to_yaml_type
  "#{YAML_URI}/#{self.class}"
end