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

Methods

Constants

Position_regexp = '(?:(\d+)|(.+?)[:.#]([^.:\s]+))'

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.

Return true if code is syntactically correct for Ruby.

[Validate]