A
A
Anton2017-03-06 23:16:33
ruby
Anton, 2017-03-06 23:16:33

Are there interactive wrappers for Ruby like the playground for Swift?

Sometimes you need to quickly throw in a script to test an idea for performance or try to refresh the functionality of some elements of the language -> irb is not very convenient to use, just like creating a project in rubymine for a small script.
Now I use the service https://repl.it , but the dependence on the Internet is depressing, and therefore I am looking for a mac interpreter with a detailed display of steps, such as Haskell shell
6c1860d2cd11414ba7c7eb654ec26bf8.jpeg
or playground'a swift
05a820397f4e4e0c8386229b1794e0d7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DevMan, 2017-03-07
@Frowardsteel96

there is https://coderunnerapp.com and osxpeppermint.com
not exactly repl, but allows you to quickly throw in and execute code in many languages ​​including ruby.
irb - and there is an analogue of swift playground'a. only console.

F
Fahrenhe17, 2017-03-06
@Fahrenhe17

Just such that they would lead by the hand and show everything at every step - I don’t think there will be. There are a couple ( irbtools / pry ) tools, but as for me, for a beginner, they will only complicate life. Ruby is a very simple language, and I think that such solutions as in Swift (by the way, apple ones are very promoting the study of programming by schoolchildren, hence similar tools for their language appear) are simply not needed. Everything is easy enough to understand from the official documentation.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question