Module: Footnotes::Notes::LogNote::LoggingExtensions

Included in:
Footnotes::Notes::LogNote
Defined in:
lib/rails-footnotes/notes/log_note.rb

Instance Method Summary collapse

Instance Method Details

#add(*args, &block) ⇒ Object



34
35
36
37
38
# File 'lib/rails-footnotes/notes/log_note.rb', line 34

def add(*args, &block)
  logged_message = super
  Footnotes::Notes::LogNote.log(logged_message)
  logged_message
end