Class: JamScriptHighlighter::LineTypes::NoteLine

Inherits:
JamScriptHighlighter::Line show all
Defined in:
lib/jam_script_highlighter/line_types/note_line.rb

Instance Attribute Summary

Attributes inherited from JamScriptHighlighter::Line

#text

Instance Method Summary collapse

Methods inherited from JamScriptHighlighter::Line

new

Instance Method Details

#to_htmlObject



4
5
6
# File 'lib/jam_script_highlighter/line_types/note_line.rb', line 4

def to_html
  "<p class=\"note\">#{@text}</p>"
end