Class Footnotes::Notes::SessionNote
In: lib/rails-footnotes/notes/session_note.rb
Parent: AbstractNote

Methods

content   new  

Public Class methods

[Source]

# File lib/rails-footnotes/notes/session_note.rb, line 6
      def initialize(controller)
        @session = (controller.session || {}).symbolize_keys
      end

Public Instance methods

[Source]

# File lib/rails-footnotes/notes/session_note.rb, line 10
      def content
        escape(@session.inspect)
      end

[Validate]