# File lib/ruby-debug/commands/set_type.rb, line 16 def execute if RUBY_VERSION < "1.9" print_msg "Not implemented" return end begin expr = @match[1] + " = " + @match[2] + "(" + @match[1] + ".inspect)" eval(expr) rescue begin expr = @match[1] + " = " + @match[2] + ".new(" + @match[1] + ".inspect)" eval(expr) rescue nil end end end