Object
Return an HTML description of a list of resources accessible under this path.
# File lib/vpim/agent/calendars.rb, line 92 def initialize(description, items) @description = description @items = items end
# File lib/vpim/agent/calendars.rb, line 97 def get(path) return <html><body>#{@description}<ul> #{ @items.map do |name,description,scheme| "<li><a href=\"#{path.append(name,scheme)}\">#{description || name}</a></li>\n" end }</ul></body></html>, Form::HTML end
[Validate]
Generated with the Darkfish Rdoc Generator 2.