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 code.
Ruby
tag: 0.2.4

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.

AutoIndent

There is also an indention plugin available: ripl-auto_indent

Planned for version 0.3.0

  • Tests :)

  • Replaceable check if syntax is valid (then, the plugin can be used for other languages than Ruby)

J-_-L

Something went wrong with that request. Please try again.