class Psd2html::PsConvertor::BlockLink

Public Instance Methods

guid() click to toggle source
Calls superclass method Psd2html::Convertor#guid
# File lib/psd2html/psconvertor/blockLink.rb, line 4
   def guid
  "link-" + super
end
html_skeleton() click to toggle source
# File lib/psd2html/psconvertor/blockLink.rb, line 7
def html_skeleton
  htmlRenderData = {
          "attributes" => {
                          "class" => "block-#{guid}",
                          "href" => "#"
                  },
                  "tag" => "a",
  }
  htmlRenderData = HTML_HASH_BASE.merge(htmlRenderData)
end