lib/byebug/commands/condition.rb in byebug-1.4.1 vs lib/byebug/commands/condition.rb in byebug-1.4.2

- old
+ new

@@ -1,8 +1,8 @@ module Byebug - class ConditionCommand < Command # :nodoc: + class ConditionCommand < Command def regexp /^\s* cond(?:ition)? (?:\s+(\d+)\s*(.*))?$/ix end @@ -29,18 +29,16 @@ def names %w(condition) end def description - %{ - cond[ition] nnn[ expr] + %{cond[ition] nnn[ expr] Specify breakpoint number nnn to break only if expr is true. nnn is an integer and expr is an expression to be evaluated whenever breakpoint nnn is reached. If no expression is specified, the condition is - removed. - } + removed.} end end end -end # module Byebug +end