Sha256: 2c8995dc80d3e4654d0408fe823ae265b0097e8d2fd9835aaad2c96bd2f9f8df

Contents?: true

Size: 194 Bytes

Versions: 4

Compression:

Stored size: 194 Bytes

Contents

class Slide
  attr_accessor :text, :classes
  
  def initialize(text, *classes)
    @text = text
    @classes = classes
  end
  
  def html
    MakersMark::Generator.new(@text).to_html
  end
end

Version data entries

4 entries across 4 versions & 3 rubygems

Version Path
nakajima-slidedown-0.0.7 lib/slide.rb
sarahmei-slidedown-0.0.7 lib/slide.rb
sarahmei-slidedown-0.0.8 lib/slide.rb
slidedown-0.1.0 lib/slide.rb