/trunk/Examples/test-suite/ruby/static_const_member_2_runme.rb
Ruby | 23 lines | 10 code | 5 blank | 8 comment | 0 complexity | 685f6c1007633892c12e056080470d23 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- #!/usr/bin/env ruby
- #
- # Put description here
- #
- #
- #
- #
- #
- require 'swig_assert'
- require 'static_const_member_2'
- include Static_const_member_2
- c = Test_int.new
- a = Test_int::Forward_field # should be available as a class constant
- a = Test_int::Current_profile # should be available as a class constant
- a = Test_int::RightIndex # should be available as a class constant
- a = Test_int::Backward_field # should be available as a class constant
- a = Test_int::LeftIndex # should be available as a class constant
- a = Test_int.cavity_flags