class Psd2html::PsConvertor::TextLink
Public Instance Methods
guid()
click to toggle source
Calls superclass method
Psd2html::Convertor#guid
# File lib/psd2html/psconvertor/textLink.rb, line 4 def guid "link-" + super end
html_skeleton()
click to toggle source
# File lib/psd2html/psconvertor/textLink.rb, line 8 def html_skeleton htmlRenderData = { "attributes" => { "class" => "text-#{guid}", "href" => "#" }, "tag" => "a", "content" => @psNode.text[:value] } htmlRenderData = HTML_HASH_BASE.merge(htmlRenderData) end