Class Footnotes::Notes::ParamsNote
In: lib/rails-footnotes/notes/params_note.rb
Parent: AbstractNote

Methods

content   new   title  

Public Class methods

[Source]

# File lib/rails-footnotes/notes/params_note.rb, line 6
      def initialize(controller)
        @params = controller.params.symbolize_keys
      end

Public Instance methods

[Source]

# File lib/rails-footnotes/notes/params_note.rb, line 14
      def content
        escape(@params.inspect)
      end

[Source]

# File lib/rails-footnotes/notes/params_note.rb, line 10
      def title
        "Params (#{@params.length})"
      end

[Validate]