Method: Utils::Editor#initialize
- Defined in:
- lib/utils/editor.rb
#initialize {|_self| ... } ⇒ Editor
Returns a new instance of Editor.
48 49 50 51 52 53 |
# File 'lib/utils/editor.rb', line 48 def initialize self.wait = false self.pause_duration = 1 self.servername = ENV['VIM_SERVER'] || "G#{ENV['USER'].upcase}" yield self if block_given? end |