Categories: None [Edit]

eval_in

https://rubygems.org/gems/eval_in
https://github.com/JoshCheek/eval_in
Safely evaluates code (Ruby and others) by sending it through https://eval.in == Languages and Versions Ruby | MRI 1.0, MRI 1.8.7, MRI 1.9.3, MRI 2.0.0, MRI 2.1 C | GCC 4.4.3, GCC 4.9.1 C++ | C++11 (GCC 4.9.1), GCC 4.4.3, GCC 4.9.1 CoffeeScript | CoffeeScript 1.7.1 (Node 0.10.29) Fortran | F95 (GCC 4.4.3) Haskell | Hugs98 September 2006 Io | Io 20131204 JavaScript | Node 0.10.29 Lua | Lua 5.1.5, Lua 5.2.3 OCaml | OCaml 4.01.0 PHP | PHP 5.5.14 Pascal | Free Pascal 2.6.4 Perl | Perl 5.20.0 Python | CPython 2.7.8, CPython 3.4.1 Slash | Slash HEAD x86 Assembly | NASM 2.07 == Example: It's this simple: result = EvalIn.call 'puts "example"', language: "ruby/mri-2.1" result.output # returns "example\n"

Total

Ranking: 45,893 of 180,507
Downloads: 21,485

Daily

Ranking: 32,305 of 180,487
Downloads: 16

Depended by

RankDownloadsName

Depends on

RankDownloadsName
23768,975,035rspec
121255,505,489webmock

Owners

#GravatarHandle
1iconJoshCheek