class HtmlGrid::UrlLink

Public Instance Methods

init() click to toggle source
Calls superclass method HtmlGrid::Link#init
# File lib/htmlgrid/urllink.rb, line 31
def init
  super
  if @model.respond_to?(@name)
    @value = @model.send(@name).to_s
  end
  compose_link
end