Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 561970d015
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (14 sloc) 0.669 kb

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

Jump to Line
Something went wrong with that request. Please try again.