Class: Ruco::StatusBar
Instance Method Summary collapse
- #change_indicator ⇒ Object
-
#initialize(editor, options) ⇒ StatusBar
constructor
A new instance of StatusBar.
- #view ⇒ Object
- #writable_indicator ⇒ Object
Constructor Details
#initialize(editor, options) ⇒ StatusBar
Returns a new instance of StatusBar.
3 4 5 6 |
# File 'lib/ruco/status_bar.rb', line 3 def initialize(editor, ) @editor = editor @options = end |
Instance Method Details
#change_indicator ⇒ Object
13 14 15 |
# File 'lib/ruco/status_bar.rb', line 13 def change_indicator @editor.modified? ? '*' : ' ' end |