/tags/rel-1-3-26/SWIG/Examples/test-suite/ruby/static_const_member_2_runme.rb
Ruby | 12 lines | 9 code | 3 blank | 0 comment | 0 complexity | 1c62895145faeb66b4535c7f5c4d3321 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- 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