Method: Ruber::MainWindow#active_document
- Defined in:
- lib/ruber/main_window/main_window.rb
#active_document ⇒ Object Also known as: current_document
The document associated with the active editor
427 428 429 |
# File 'lib/ruber/main_window/main_window.rb', line 427 def active_document (ed = active_editor) ? ed.document : nil end |