[macruby-changes] [MacRuby/MacRuby] 2fa177: Object#to_s will copy status of taint/untrust.

noreply at github.com noreply at github.com
Tue Apr 12 19:23:30 PDT 2011


Branch: refs/heads/master
Home:   https://github.com/MacRuby/MacRuby

Commit: 2fa17718ef9321d5d844e09988849c7df4d7a618
    https://github.com/MacRuby/MacRuby/commit/2fa17718ef9321d5d844e09988849c7df4d7a618
Author: Watson <watson1978 at gmail.com>
Date:   2011-04-12 (Tue, 12 Apr 2011)

Changed paths:
  M object.c

Log Message:
-----------
Object#to_s will copy status of taint/untrust.

Test Script:
{{{
require 'test/unit/assertions.rb'
include Test::Unit::Assertions

obj = Object.new
obj.taint
obj.untrust
s = obj.to_s

assert_equal(true, s.untrusted?)
assert_equal(true, s.tainted?)

puts :ok
}}}




More information about the macruby-changes mailing list