Class: MDV::MarkdownViewer
- Inherits:
-
Object
- Object
- MDV::MarkdownViewer
- Defined in:
- lib/mdv/markdown_viewer.rb
Overview
Markdown viewer window class
Instance Method Summary collapse
-
#initialize(win, file) ⇒ MarkdownViewer
constructor
A new instance of MarkdownViewer.
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 |