Module: TermNote

Defined in:
lib/termnote.rb,
lib/termnote/pane.rb,
lib/termnote/show.rb,
lib/termnote/loader.rb,
lib/termnote/version.rb,
lib/termnote/show/key.rb,
lib/termnote/pane/code.rb,
lib/termnote/pane/text.rb,
lib/termnote/pane/chapter.rb,
lib/termnote/pane/console.rb,
lib/termnote/pane/helpers.rb,
lib/termnote/pane/helpers/title.rb,
lib/termnote/pane/helpers/content.rb

Defined Under Namespace

Modules: Pane Classes: Loader, Show

Constant Summary collapse

VERSION =
"2.0.1"

Instance Method Summary collapse

Instance Method Details

#chapter(options) ⇒ Object



14
15
16
# File 'lib/termnote.rb', line 14

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

#code(options) ⇒ Object



22
23
24
# File 'lib/termnote.rb', line 22

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

#console(options) ⇒ Object



30
31
32
# File 'lib/termnote.rb', line 30

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

#list(options) ⇒ Object



26
27
28
# File 'lib/termnote.rb', line 26

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

#showObject



10
11
12
# File 'lib/termnote.rb', line 10

def show
  @show ||= Show.new
end

#text(options) ⇒ Object



18
19
20
# File 'lib/termnote.rb', line 18

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