Module Debugger::ParseFunctions
In: cli/ruby-debug/helper.rb

Methods

Public Instance methods

Parse ‘str’ of command ‘cmd’ as an integer between min and max. If either min or max is nil, that value has no bound.

Return true if arg is ‘on’ or 1 and false arg is ‘off’ or 0. Any other value raises RuntimeError.

Return ‘on’ or ‘off’ for supplied parameter. The parmeter should be true, false or nil.

[Validate]