summaryrefslogtreecommitdiff
path: root/ext/dl/test
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-07 23:08:26 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-07 23:08:26 +0000
commit3977dbc57674bc2aab0beb33b84195c23e1d6a04 (patch)
tree80f5a915eded87371708fa9af98d2dcba7d8b63d /ext/dl/test
parentc47ca1f02f514ecf765877414bfacceb1402d011 (diff)
Use define_method instead of module_eval.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/test')
-rw-r--r--ext/dl/test/test_import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/test/test_import.rb b/ext/dl/test/test_import.rb
index 14fb1eba65..c96c330a8c 100644
--- a/ext/dl/test/test_import.rb
+++ b/ext/dl/test/test_import.rb
@@ -54,7 +54,7 @@ module DL
def test_io()
io_in,io_out = IO.pipe()
- LIBC.fprintf(DL::CPtr[io_out], "hello")
+ LIBC.fprintf(io_out, "hello")
io_out.flush()
io_out.close()
str = io_in.read()