Skip to content
a compact Ruby Repl.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
rr.cmd
rr.rb

README.md

rr.rb

rubyのシンプルなrepl

使い方

$ rr
Please input and push enter key.
1+1
#=> 2
p "あいう"
"あいう"
#=> "あいう"
^D
$
$ rr yaml csv
require yaml
=> true
require csv
=> true
Please input and push enter key.
YAML.dump([1,2,3])
#=> "---\n" + "- 1\n" + "- 2\n" + "- 3\n"
puts YAML.dump([1,2,3])
---
- 1
- 2
- 3
#=> nil
^D
$
You can’t perform that action at this time.