Sha256: 88a9d8b81b808f929b904cdbc4a1efc449fd789e3d5e280e1168afb8f0f10cdf

Contents?: true

Size: 185 Bytes

Versions: 7

Compression:

Stored size: 185 Bytes

Contents

module SlideHero
  class Note
    attr_reader :text
    def initialize(text)
      @text = text
    end

    def compile
      %{<aside class="notes">#{text}</aside>}
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slide_hero-0.0.9 lib/slide_hero/note.rb
slide_hero-0.0.8 lib/slide_hero/note.rb
slide_hero-0.0.7 lib/slide_hero/note.rb
slide_hero-0.0.6 lib/slide_hero/note.rb
slide_hero-0.0.5 lib/slide_hero/note.rb
slide_hero-0.0.4 lib/slide_hero/note.rb
slide_hero-0.0.3 lib/slide_hero/note.rb