class HtmlGrid::HttpLink
Constants
- LABEL
Public Instance Methods
compose_link()
click to toggle source
# File lib/htmlgrid/urllink.rb, line 43 def compose_link unless @value.nil? self.href = if @@http_ptrn.match(@value) @value else "http://" + @value end set_attribute("target", "_blank") end end