class Scale::Text
Public Class Methods
new(text, attributes = {})
click to toggle source
Calls superclass method
# File lib/scale/text.rb, line 19 def initialize(text, attributes = {}) @content = text super(attributes) end
Public Instance Methods
xml_tag()
click to toggle source
# File lib/scale/text.rb, line 24 def xml_tag :text_ end