class Tkn2::Slide

Public Class Methods

new(*args) click to toggle source
# File lib/tkn2/slide.rb, line 3
def initialize(*args)
  @args = args
end

Public Instance Methods

block() click to toggle source
# File lib/tkn2/slide.rb, line 7
def block
  ContentBlock.new(content)
end
content() click to toggle source
# File lib/tkn2/slide.rb, line 11
def content
  Utils.strip_heredoc(raw_content)
end
raw_content() click to toggle source
# File lib/tkn2/slide.rb, line 15
def raw_content
  @args.first
end