class RubyEdit::Editor

Public Class Methods

new() click to toggle source
# File lib/ruby_edit/editor.rb, line 7
def initialize
  @config = RubyEdit.config
end

Public Instance Methods

edit_sourcefile() click to toggle source
# File lib/ruby_edit/editor.rb, line 11
def edit_sourcefile
  editor.open RubyEdit::SOURCE_FILE_LOCATION, command: @config.editor
end