Sha256: 800f71fbf643a2df0346a5ef56d0917498a9ca172fa89b76b133d5ac89b41dc5

Contents?: true

Size: 186 Bytes

Versions: 5

Compression:

Stored size: 186 Bytes

Contents

# encoding: utf-8

require 'tty-editor'

path = File.join(File.expand_path(File.dirname(__FILE__)), '../README.md')

TTY::Editor.open(path) do |editor|
  editor.command :vim, :emacs
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tty-editor-0.4.1 examples/choices.rb
tty-editor-0.4.0 examples/choices.rb
tty-editor-0.3.0 examples/choices.rb
tty-editor-0.2.1 examples/choices.rb
tty-editor-0.2.0 examples/choices.rb