Ruby有什么类似bpython的东西吗? [英] Is there something like bpython for Ruby?
本文介绍了Ruby有什么类似bpython的东西吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否有任何红宝石相当于bpython?
Is there any ruby equivalent of bpython?
推荐答案
使用Pry: http://pry.github.com
这是从头开始写的让我们:
It is written from scratch and let's you:
- 查看方法源代码
- 查看方法文档(不使用RI,因此您无需预先生成
- 弹出和弹出不同的上下文
- 在运行时,在任何上下文中调用
- 语法突出显示
- gist integration
- 查看和重播历史记录
- 使用<$ c $打开编辑器编辑方法c> edit-method obj.my_method 语法
- view method source code
- view method documentation (not using RI so you dont have to pre-generate it)
- pop in and out of different contexts
- invoke at runtime, in any context
- syntax highlighting
- gist integration
- view and replay history
- open editors to edit method using
edit-method obj.my_method
syntax
一吨多g reat和原始功能
A tonne more great and original features
这篇关于Ruby有什么类似bpython的东西吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文