Class: MDV::MarkdownViewer

Inherits:
Object
  • Object
show all
Defined in:
lib/mdv/markdown_viewer.rb

Overview

Markdown viewer window class

Instance Method Summary collapse

Constructor Details

#initialize(win, file) ⇒ MarkdownViewer

Returns a new instance of MarkdownViewer.



15
16
17
18
19
20
21
22
# File 'lib/mdv/markdown_viewer.rb', line 15

def initialize(win, file)
  @win = win
  @document = Document.new(file)
  setup_gui
  connect_actions
  reload
  connect_signals
end