Module: Kernel
- Defined in:
- lib/waves/ext/kernel.rb
Instance Method Summary collapse
-
#debugger ⇒ Object
Starts a debugging session if ruby-debug has been loaded (call waves-server –debugger to do load it).
-
#engine ⇒ Object
‘engine’ exists to provide a quick and easy (and MRI-compatible!) interface to the RUBY_ENGINE constant.
Instance Method Details
#debugger ⇒ Object
Starts a debugging session if ruby-debug has been loaded (call waves-server –debugger to do load it).
5 6 7 |
# File 'lib/waves/ext/kernel.rb', line 5 def debugger Waves::Logger.info "Debugger invoked but not loaded. Start server with --debugger to enable." end |
#engine ⇒ Object
‘engine’ exists to provide a quick and easy (and MRI-compatible!) interface to the RUBY_ENGINE constant
12 |
# File 'lib/waves/ext/kernel.rb', line 12 def engine; defined?(RUBY_ENGINE) ? RUBY_ENGINE : 'ruby'; end |