aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_method.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 17:26:16 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-06-29 17:26:16 +0000
commit9ebf6473ebfd76e64c33904bb555b5fc8435dc66 (patch)
tree30d31011baaa743c780be4a286e2233584a9ec43 /test/ruby/test_method.rb
parent002fb8f747933409b05b805a9903dcbc7a72abbd (diff)
downloadruby-9ebf6473ebfd76e64c33904bb555b5fc8435dc66.tar.gz
* vm.c, vm_core.h,vm_core.h, vm_dump.c, iseq.c: rename class name
VM -> RubyVM, and rename rb_cVM -> rb_cRubyVM. "VM" is too short name for class. * test/ruby/test_method.rb, test/ruby/test_settracefunc.rb: ditto. * include/ruby/ruby.h: rb_cRubyVM, rb_cEnv, rb_cISeq should not be exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_method.rb')
-rw-r--r--test/ruby/test_method.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index e0267d777f..8ab9a4a965 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -70,7 +70,7 @@ class TestMethod < Test::Unit::TestCase
def test_body
o = Object.new
def o.foo; end
- assert_nothing_raised { VM::InstructionSequence.disasm(o.method(:foo)) }
+ assert_nothing_raised { RubyVM::InstructionSequence.disasm(o.method(:foo)) }
end
def test_new