Sha256: b6ff5865e078e949dbab08fe62e36d4820e3ad073a3b7f1e3653ee0c45b2937a
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
class Rtml::Dom::ScreenElement < Rtml::Dom::Element def after_initialize super find_or_add_property(:next, :id_ref => true, :drop_if_blank => true) end # TML has issues with empty Screen tags def build_empty_tag build_content_tag do if !property('next').blank? property = find_property('next') value = property.tml_value "<next uri=\"#{value}\" />" else '<next uri="#assert" />' end end end def path if document && document.name "#{document.name}/#{property('id')}" else property('id').to_s end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rtml-2.0.4 | builtin/models/rtml/dom/screen_element.rb |