class Bookwatch::Subnav::TemplateCreator::LinkHolder

Attributes

Public Class Methods

new(links, template) click to toggle source
# File lib/bookwatch/subnav/template_creator.rb, line 42
def initialize(links, template)
  @links = links
  @template = template
end

Public Instance Methods

escape_html(str) click to toggle source
# File lib/bookwatch/subnav/template_creator.rb, line 65
def escape_html(str)
  Rack::Utils.escape_html(str)
end
get_binding() click to toggle source
# File lib/bookwatch/subnav/template_creator.rb, line 49
def get_binding
  binding
end
submenu_class(link) click to toggle source