Class: Lecter::HtmlRow
- Inherits:
-
Object
- Object
- Lecter::HtmlRow
- Defined in:
- lib/lecter/html_row.rb
Constant Summary collapse
- ARROW =
'-> '
- BACKGROUND_INCLUDED_ROW =
'#4a4a4a'
- NEW_LINE_SYMBOL =
"\n"
Instance Method Summary collapse
- #create ⇒ Object
-
#initialize(row, row_number, row_executable, order_of_executed_lines) ⇒ HtmlRow
constructor
A new instance of HtmlRow.
Constructor Details
#initialize(row, row_number, row_executable, order_of_executed_lines) ⇒ HtmlRow
Returns a new instance of HtmlRow.
9 10 11 12 13 14 |
# File 'lib/lecter/html_row.rb', line 9 def initialize(row, row_number, row_executable, order_of_executed_lines) @row = row @row_number = row_number @row_executable = row_executable @order_of_executed_lines = order_of_executed_lines end |
Instance Method Details
#create ⇒ Object
16 17 18 |
# File 'lib/lecter/html_row.rb', line 16 def create "<div style='#{style}'><code>#{html_row}</code></div>" end |