Class: Revealize::MarkdownSlide

Inherits:
Struct
  • Object
show all
Defined in:
lib/revealize/slide.rb

Defined Under Namespace

Classes: Slide

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#raw_contentObject

Returns the value of attribute raw_content

Returns:

  • (Object)

    the current value of raw_content



12
13
14
# File 'lib/revealize/slide.rb', line 12

def raw_content
  @raw_content
end

Instance Method Details

#renderObject



13
14
15
# File 'lib/revealize/slide.rb', line 13

def render
  raw_content.split($/ * 4).map { |e| Slide.new(e).render }.join
end