PageRenderTime 20ms CodeModel.GetById 14ms app.highlight 2ms RepoModel.GetById 2ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/ruby/abstract_typedef_runme.rb

#
Ruby | 9 lines | 5 code | 4 blank | 0 comment | 2 complexity | 05c7d8f84ae46fb0483c518f5b715ddb MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
1require 'abstract_typedef'
2
3include Abstract_typedef
4
5e = Engine.new
6a = A.new
7
8raise RuntimeError if a.write(e) != true
9