lib/ruby-debug/commands/pause.rb in ruby-debug-ide19-0.4.11 vs lib/ruby-debug/commands/pause.rb in ruby-debug-ide19-0.4.12
- old
+ new
@@ -7,14 +7,14 @@
def regexp
/^\s*pause\s*(?:\s+(\S+))?\s*$/
end
def execute
- if RUBY_VERSION < "1.9"
+ c = get_context(@match[1].to_i)
+ unless c.respond_to?(:pause)
print_msg "Not implemented"
return
end
- c = get_context(@match[1].to_i)
c.pause
end
class << self
def help_command