module Kernel
Private Instance Methods
dom(tag, mounted: nil, **attr)
click to toggle source
# File lib/dom.rb, line 106 def dom tag, mounted: nil, **attr "<%s />".%(Dom.format(tag, attr).first).dom_escaped.mounted_set(mounted) end
jsonml(tag, attr = nil)
click to toggle source
# File lib/dom.rb, line 109 def jsonml tag, attr = nil Dom.json_format(tag, attr) end