Module: Scarlet::Formatters::Base

Included in:
HTML, LATEX, PDF
Defined in:
lib/scarlet/formatters/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#slideObject

Returns the value of attribute slide.



3
4
5
# File 'lib/scarlet/formatters/base.rb', line 3

def slide
  @slide
end

Instance Method Details

#initialize(slide) ⇒ Object



5
6
7
# File 'lib/scarlet/formatters/base.rb', line 5

def initialize(slide)
  @slide = slide
end