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/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 =
"1.5.1"

Instance Method Summary collapse

Instance Method Details

#chapter(options) ⇒ Object



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

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

#code(options) ⇒ Object



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

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

#console(options) ⇒ Object



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

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

#list(options) ⇒ Object



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

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

#showObject



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

def show
  @show ||= Show.new
end

#text(options) ⇒ Object



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

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