mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/irb.rb, lib/irb/*: Documentation for IRB
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4f7a6aafa5
commit
7e9eb32669
21 changed files with 611 additions and 60 deletions
|
|
@ -18,16 +18,16 @@ class Object
|
|||
end
|
||||
|
||||
module IRB
|
||||
# :stopdoc:
|
||||
module ExtendCommandBundle
|
||||
# Loads the given file similarly to Kernel#load, see IrbLoader#irb_load
|
||||
def irb_load(*opts, &b)
|
||||
ExtendCommand::Load.execute(irb_context, *opts, &b)
|
||||
end
|
||||
# Loads the given file similarly to Kernel#require
|
||||
def irb_require(*opts, &b)
|
||||
ExtendCommand::Require.execute(irb_context, *opts, &b)
|
||||
end
|
||||
end
|
||||
# :startdoc:
|
||||
|
||||
class Context
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue