Sha256: c145a2a5f8ad1a7c5cb6dd7bb5d7fc29c01104fd1291ca8f78e9870d7b994ead

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

require 'io/console'
require 'smart_colored/extend'
require 'coderay'
require 'yaml'
require 'termnote/version'
require 'termnote/pane'
require 'termnote/show'

module TermNote
  def show
    @show ||= Show.new
  end

  def chapter(options)
    Pane::Chapter.new options
  end

  def text(options)
    Pane::Text.new options
  end

  def code(options)
    Pane::Code.new options
  end

  def list(options)
    Pane::List.new options
  end

  def console(options)
    Pane::Console.new options
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
termnote-2.0.1 lib/termnote.rb
termnote-2.0.0 lib/termnote.rb