repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* file.c (rb_find_file_ext): guard load_path from GC.
[ruby-svn.git]
/
test
/
test_tempfile.rb
blob
c4234e551da27bd5f994b8d6fb4d0e3e63c66792
1
require 'test/unit'
2
require 'tempfile'
3
4
class TestTempfile < Test::Unit::TestCase
5
module M
6
end
7
8
def test_extend
9
o = Tempfile.new("foo")
10
o.extend M
11
assert(M === o, "[ruby-dev:32932]")
12
end
13
end
14