Sha256: 924fc132897eaad5041558362827bf15e1bdb64e41024e35db05a245ba40d572
Contents?: true
Size: 433 Bytes
Versions: 23
Compression:
Stored size: 433 Bytes
Contents
require "#{File.dirname(__FILE__)}/abstract_note" module Footnotes module Notes class CookiesNote < AbstractNote def initialize(controller) @cookies = (controller.__send__(:cookies) || {}).symbolize_keys end def title "Cookies (#{@cookies.length})" end def content mount_table_for_hash(@cookies, :summary => "Debug information for #{title}") end end end end
Version data entries
23 entries across 23 versions & 3 rubygems