PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/ruby/class_ignore_runme.rb

#
Ruby | 21 lines | 6 code | 5 blank | 10 comment | 2 complexity | 9482fbe6d84cacf548d7df5b94d5088f MD5 | raw file
 1#!/usr/bin/env ruby
 2#
 3# Put description here
 4#
 5# 
 6# 
 7# 
 8#
 9
10require 'swig_assert'
11
12require 'class_ignore'
13
14a = Class_ignore::Bar.new
15
16# Even though we didn't wrap the Foo class, this call
17# to do_blah() should succeed.
18
19if Class_ignore.do_blah(a) != "Bar::blah"
20  raise RuntimeError
21end