Module: Kernel

Defined in:
lib/rucola/ruby_debug.rb,
lib/rucola/rucola_support/core_ext/ruby/kernel.rb

Instance Method Summary collapse

Instance Method Details

#debugger(steps = 1) ⇒ Object



2
# File 'lib/rucola/ruby_debug.rb', line 2

def debugger(steps = 1); end

#logObject

Returns a logger instance

Examples:

log.level = Rucola::Log::DEBUG
log.info "Couldn't load preferences, using defaults"
log.debug "Initiating primary foton driveā€¦"

For more information see the Rucola::Log class.



13
14
15
# File 'lib/rucola/rucola_support/core_ext/ruby/kernel.rb', line 13

def log
  Rucola::Log.instance
end