Class: Niso::Jats::OasisTable

Inherits:
Oasis::Etm::Table
  • Object
show all
Defined in:
lib/niso/jats/oasis_table.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(options = {}) ⇒ Object

Override to_xml to not output empty table elements



206
207
208
209
210
# File 'lib/niso/jats/oasis_table.rb', line 206

def to_xml(options = {})
  return nil if tgroups.nil? || tgroups.empty?

  super
end