Method: TermNote::Pane::Chapter#initialize

Defined in:
lib/termnote/pane/chapter.rb

#initialize(options) ⇒ Chapter

Returns a new instance of Chapter.



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

def initialize(options)
  @title = options[:title] || options['title']
  @subtitle = options[:subtitle] || options['subtitle']
end