Class: Ifmb::HtmlFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/ifmb/html_formatter.rb

Instance Method Summary collapse

Constructor Details

#initialize(reference) ⇒ HtmlFormatter

Returns a new instance of HtmlFormatter.



4
5
6
# File 'lib/ifmb/html_formatter.rb', line 4

def initialize(reference)
  @reference = reference
end

Instance Method Details

#htmlObject



8
9
10
# File 'lib/ifmb/html_formatter.rb', line 8

def html
  formatted_reference
end

#small_htmlObject



12
13
14
# File 'lib/ifmb/html_formatter.rb', line 12

def small_html
  formatted_reference_small
end