# File lib/math_ml/element.rb, line 113
113: def update
114: update_name
115: update_contents
116: end
# File lib/math_ml/element.rb, line 105
105: def update_contents
106: contents.clear
107: contents << @body
108: contents << @sub if @sub
109: contents << @sup if @sup
110: end
# File lib/math_ml/element.rb, line 93
93: def update_name
94: if @sub || @sup
95: name = "m"
96: name << (@sub ? (@display_style ? "under" : "sub") : "")
97: name << (@sup ? (@display_style ? "over" : "sup") : "")
98: else
99: name = "mrow"
100: end
101: self.name = name
102: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.