Class: Rouge::Formatters::HTMLWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/rouge/formatters/html_wrapper.rb

Instance Method Summary collapse

Constructor Details

#initialize(open, formatter, close) ⇒ HTMLWrapper

Returns a new instance of HTMLWrapper.


4
5
6
7
8
# File 'lib/rouge/formatters/html_wrapper.rb', line 4

def initialize(open, formatter, close)
  @open = open
  @formatter = formatter
  @close = close
end