Class: Formatters::Html

Inherits:
Object
  • Object
show all
Defined in:
lib/bkmrq/formatters/html.rb

Overview

Html Formatter

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.format(tree) ⇒ Object



8
9
10
# File 'lib/bkmrq/formatters/html.rb', line 8

def self.format(tree)
  new.format!(tree)
end

Instance Method Details

#format!(tree) ⇒ Object



12
13
14
# File 'lib/bkmrq/formatters/html.rb', line 12

def format!(tree)
  format([], tree)
end