Class: Footnotes::Notes::JavascriptsNote

Inherits:
FilesNote show all
Defined in:
lib/rails-footnotes/notes/javascripts_note.rb

Instance Method Summary collapse

Methods inherited from FilesNote

#content, #initialize, #row, #valid?

Methods inherited from AbstractNote

close!, #escape, #has_fieldset?, #hash_to_xml_attributes, included?, #initialize, #javascript, #legend, #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::FilesNote

Instance Method Details

#titleObject



6
7
8
# File 'lib/rails-footnotes/notes/javascripts_note.rb', line 6

def title
  "Javascripts (#{@files.length})"
end