Class: BasicBlock::Table::Tr
- Inherits:
-
Object
- Object
- BasicBlock::Table::Tr
- Defined in:
- lib/relaton_iec/basic_block/table.rb
Instance Method Summary collapse
-
#initialize(content) ⇒ Tr
constructor
A new instance of Tr.
- #to_xml(builder) ⇒ Object
Constructor Details
#initialize(content) ⇒ Tr
Returns a new instance of Tr.
52 53 54 |
# File 'lib/relaton_iec/basic_block/table.rb', line 52 def initialize(content) @content = content end |
Instance Method Details
#to_xml(builder) ⇒ Object
57 58 59 60 61 |
# File 'lib/relaton_iec/basic_block/table.rb', line 57 def to_xml(builder) builder.tr do |b| @content.each { |c| c.to_xm b } end end |