Class: DomString

Inherits:
String show all
Defined in:
lib/dom.rb,
lib/dom.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#ansi2html, #dom, #jsonml

Instance Attribute Details

#mountedObject (readonly)

Returns the value of attribute mounted.



149
150
151
# File 'lib/dom.rb', line 149

def mounted
  @mounted
end

Instance Method Details

#dom_escapedObject



140
# File 'lib/dom.rb', line 140

def dom_escaped; self end

#mounted_set(*mounted) ⇒ Object



141
142
143
144
145
146
147
148
# File 'lib/dom.rb', line 141

def mounted_set *mounted
	mounted.compact!
	if mounted.empty?
	elsif @mounted then @mounted.concat(mounted.join)
	else @mounted = mounted.join
	end
	self
end

#to_sObject



139
# File 'lib/dom.rb', line 139

def to_s; self end