Class: Footnotes::Notes::GeneralNote

Inherits:
AbstractNote show all
Defined in:
lib/rails-footnotes/notes/general_note.rb

Instance Method Summary collapse

Methods inherited from AbstractNote

close!, #escape, #has_fieldset?, #hash_to_xml_attributes, included?, #initialize, #javascript, #link, #mount_table, #mount_table_for_hash, #onclick, #prefix?, #row, start!, #stylesheet, title, #to_sym, to_sym, #valid?

Constructor Details

This class inherits a constructor from Footnotes::Notes::AbstractNote

Instance Method Details

#contentObject



12
13
14
# File 'lib/rails-footnotes/notes/general_note.rb', line 12

def content
  'You can use this tab to debug other parts of your application, for example Javascript.'
end

#legendObject



8
9
10
# File 'lib/rails-footnotes/notes/general_note.rb', line 8

def legend
  'General (id="general_debug_info")'
end

#titleObject



4
5
6
# File 'lib/rails-footnotes/notes/general_note.rb', line 4

def title
  'General Debug'
end