Class: JamScriptHighlighter::LineTypes::VariationLine
- Inherits:
-
JamScriptHighlighter::Line
- Object
- JamScriptHighlighter::Line
- JamScriptHighlighter::LineTypes::VariationLine
- Defined in:
- lib/jam_script_highlighter/line_types/variation_line.rb
Instance Attribute Summary
Attributes inherited from JamScriptHighlighter::Line
Instance Method Summary collapse
Methods inherited from JamScriptHighlighter::Line
Instance Method Details
#to_html ⇒ Object
4 5 6 |
# File 'lib/jam_script_highlighter/line_types/variation_line.rb', line 4 def to_html "<h4 class=\"variation\">#{@text}</h4>" end |