Sha256: b58fd739c7737f12bb28206113d480781921ce0d6145dd5797677eed9015cc80
Contents?: true
Size: 387 Bytes
Versions: 10
Compression:
Stored size: 387 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) end end end end
Version data entries
10 entries across 10 versions & 5 rubygems