opts
Options for IRB. Currently this is not used by the IRB adapter.
If the .irbrc file exists, it will be loaded into the IRBRC environment variable.
:api: plugin
# File lib/merb-core/rack/adapter/irb.rb, line 191 191: def self.start(opts={}) 192: m = Merb::Rack::Console.new 193: m.extend Merb::Test::RequestHelper 194: m.extend ::Webrat::Methods if defined?(::Webrat) 195: Object.send(:define_method, :merb) { m } 196: ARGV.clear # Avoid passing args to IRB 197: m.open_sandbox! if sandboxed? 198: require 'irb' 199: require 'irb/completion' 200: if File.exists? ".irbrc" 201: ENV['IRBRC'] = ".irbrc" 202: end 203: IRB.start 204: at_exit do merb.close_sandbox! if sandboxed? end 205: exit 206: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.