Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
This ripl plugin allows you to evaluate multiple lines of Ruby code.
tree: 561970d015

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/ripl
.gemspec
.gitignore
CHANGELOG.rdoc
LICENSE.txt
README.rdoc
Rakefile
deps.rip

README.rdoc

Description

This ripl plugin allows you to evaluate multiple lines of Ruby code.

Install

Install the gem with

gem install ripl-multi_line

Usage

Add the following line to your ~/.riplrc

require 'ripl/multi_line'

You can customize your multi-line prompt with the :multi_line_prompt option. For example, put this into your ~/.riplrc:

Ripl.config[:multi_line_prompt] = ' >'

If you are in multi-line situation, you can press ctrl+c and the last line will be removed.

Todo

  • Replaceable check if syntax is valid (allows use of this plugin for other languages than Ruby)

J-_-L

Something went wrong with that request. Please try again.