Class: EBPS::Conversion::Oebps::Factory
- Inherits:
-
Object
- Object
- EBPS::Conversion::Oebps::Factory
- Defined in:
- lib/ebps/conversion/oebps.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#uid ⇒ Object
readonly
Returns the value of attribute uid.
Instance Method Summary collapse
-
#initialize(subject, ids, tmpdir) ⇒ Factory
constructor
A new instance of Factory.
Constructor Details
#initialize(subject, ids, tmpdir) ⇒ Factory
Returns a new instance of Factory.
44 45 46 47 48 49 50 51 52 |
# File 'lib/ebps/conversion/oebps.rb', line 44 def initialize subject, ids, tmpdir @ids = ids @indent = EBPS.config.xml_indent @builder = Builder::XmlMarkup.new :indent => @indent @builder.instruct! :xml, :version => "1.0", :encoding => "UTF-8" @subject = subject @tmpdir = tmpdir @link_drug_brand_name = EBPS.config.link_drug_brand_name end |
Instance Attribute Details
#uid ⇒ Object (readonly)
Returns the value of attribute uid.
43 44 45 |
# File 'lib/ebps/conversion/oebps.rb', line 43 def uid @uid end |