Class: BasicBlock::Dl::Dt
- Inherits:
-
Object
- Object
- BasicBlock::Dl::Dt
- Defined in:
- lib/relaton_iec/basic_block/dl.rb
Instance Method Summary collapse
-
#initialize(content) ⇒ Dt
constructor
A new instance of Dt.
- #to_xml(builder) ⇒ Object
Constructor Details
#initialize(content) ⇒ Dt
Returns a new instance of Dt.
28 29 30 |
# File 'lib/relaton_iec/basic_block/dl.rb', line 28 def initialize(content) @content = content end |
Instance Method Details
#to_xml(builder) ⇒ Object
35 36 37 38 39 |
# File 'lib/relaton_iec/basic_block/dl.rb', line 35 def to_xml(builder) builder.dt do |b| @content.each { |c| c.to_xml b } end end |