Module: IRB
- Defined in:
- lib/irb/version.rb,
lib/irb.rb,
lib/rdoc/slex.rb,
lib/irb/driver.rb,
lib/irb/source.rb,
lib/irb/context.rb,
lib/irb/formatter.rb,
lib/rdoc/notifier.rb,
lib/irb/driver/tty.rb,
lib/irb/deprecated.rb,
lib/irb/ext/history.rb,
lib/irb/ext/colorize.rb,
lib/irb/driver/socket.rb,
lib/rdoc/output-method.rb,
lib/irb/ext/completion.rb,
lib/irb/driver/readline.rb
Overview
MacRuby implementation of IRB.
This file is covered by the Ruby license. See COPYING for more details.
Copyright (C) 2009-2010, Eloy Duran <eloy.de.enige@gmail.com>
Portions Copyright (C) 2006-2010 Paul Duncan <pabs@pablotron.org> (Wirble) Portions Copyright (C) 2009-2010 Jens Wille <jens.wille@gmail.com> (Wirble) Portions Copyright (C) 2006-2010 Giles Bowkett (light background color scheme)
Defined Under Namespace
Modules: Driver, History, Notifier, VERSION Classes: ColoredFormatter, Completion, Context, DeprecatedConf, Formatter, OutputMethod, SLex, Source, StdioOutputMethod
Class Attribute Summary (collapse)
-
+ (Object) formatter
Returns the value of attribute formatter.
Class Method Summary (collapse)
- + (Object) conf
- + (Object) deprecated(message, caller)
- + (Object) deprecated_feature(old_feature, new_feature, caller)
-
+ (Object) start
(also: setup)
This is just here for so the ruby 1.9 IRB will seemingly work, but actually loads DietRB, how cunning...
- + (Object) version
Class Attribute Details
+ (Object) formatter
Returns the value of attribute formatter
9 10 11 |
# File 'lib/irb/formatter.rb', line 9 def formatter @formatter end |
Class Method Details
+ (Object) conf
12 13 14 |
# File 'lib/irb/deprecated.rb', line 12 def self.conf @conf ||= DeprecatedConf.new end |
+ (Object) deprecated(message, caller)
2 3 4 5 6 |
# File 'lib/irb/deprecated.rb', line 2 def self.deprecated(, caller) return unless $DEBUG caller = caller.first.split(':')[0..-2].join(':') warn "[!] Deprecation warning from #{caller}: #{}" end |
+ (Object) deprecated_feature(old_feature, new_feature, caller)
8 9 10 |
# File 'lib/irb/deprecated.rb', line 8 def self.deprecated_feature(old_feature, new_feature, caller) deprecated "Usage of #{old_feature} will be deprecated, #{new_feature}", caller end |
+ (Object) start Also known as: setup
This is just here for so the ruby 1.9 IRB will seemingly work, but actually loads DietRB, how cunning...
This will obviously be removed once we've conquered the world.
20 21 22 23 |
# File 'lib/irb.rb', line 20 def start(*) warn "[!] Note that you are now actually using DietRB (#{IRB::VERSION::STRING})\n" load File.('../../bin/dietrb', __FILE__) end |
+ (Object) version
18 19 20 |
# File 'lib/irb/version.rb', line 18 def self.version IRB::VERSION::DESCRIPTION end |