Skip to content

Evaluate the selection in ♥♥♥Ruby♥♥♥, and print the result.

Notifications You must be signed in to change notification settings

jugyo/SublimeRubyEval

Repository files navigation

RubyEval

Evaluate the selection in ♥♥♥Ruby♥♥♥, and print the result.

Installation

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
$ git clone https://github.com/jugyo/SublimeRubyEval.git RubyEval

Usage

The ruby_eval command is binded to super+k, super+e.

Customize

In your Preferences.sublime-settings:

{
  …
  "ruby_eval": {
    // "ruby": "/usr/local/bin/ruby"
    // "ruby": "~/.rvm/bin/ruby"
    "ruby": "~/.rbenv/versions/2.0.0-dev/bin/ruby"
  }
  …
}

The Default is ruby.

About

Evaluate the selection in ♥♥♥Ruby♥♥♥, and print the result.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages