diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:37:26 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 22:42:20 -0500 |
commit | 75e3bf86382edf99275a25895b362647158e25c1 (patch) | |
tree | 7ec458f15d0bf981c7e044244a8cbf55205141b7 /data/sisu/v3dv/conf/ruby/irbrc | |
parent | v3: date, year 2012, update (diff) |
v3dv, add dev branch (use to make some changes to module & class names & test)
* (intended as) short term branch, merge back into v3 once tested
* sisu --dev (to invoke)
Diffstat (limited to 'data/sisu/v3dv/conf/ruby/irbrc')
-rw-r--r-- | data/sisu/v3dv/conf/ruby/irbrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/data/sisu/v3dv/conf/ruby/irbrc b/data/sisu/v3dv/conf/ruby/irbrc new file mode 100644 index 00000000..cceffdfc --- /dev/null +++ b/data/sisu/v3dv/conf/ruby/irbrc @@ -0,0 +1,19 @@ +require 'irb/completion' +IRB.conf[:use_readline] = true +IRB.conf[:PROMPT_MODE] = :XMP +#IRB.conf[:PROMPT] = +#simple-prompt +def ri arg + puts `ri #{arg}` +end +def ri(*names) + system(%{ri #{names.map {|name| name.to_s}.join(" ")}}) +end +#require 'rdoc/ri/ri_driver' +#def ri(*names) +# oargv = Object.const_get(:ARGV) +# Object.const_set(:ARGV, names) +# RiDriver.new.process_args +# Object.const_set(:ARGV, oargv) +#end + |