Edit Strings in irb with your favorite editor.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
README.md

README.md

editor.rb

A venry tool for irb.

Usage

  $ irb -reditor
  > Editor.edit("abc") # Edit "abc" with the external editor.
  => "abc has changed"
  > include Editor
  > record.body = edit(record.body)
  > record.save # play with ActiveRecord.

##Requirements

  • Ruby1.9

Author

  • NANKI Haruo (@nanki / nanki at dotswitch dot net)

License

MIT License.