/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

  1. #!/usr/bin/env ruby
  2. #
  3. # Put description here
  4. #
  5. #
  6. #
  7. #
  8. #
  9. require 'swig_assert'
  10. require 'static_const_member_2'
  11. include Static_const_member_2
  12. c = Test_int.new
  13. a = Test_int::Forward_field # should be available as a class constant
  14. a = Test_int::Current_profile # should be available as a class constant
  15. a = Test_int::RightIndex # should be available as a class constant
  16. a = Test_int::Backward_field # should be available as a class constant
  17. a = Test_int::LeftIndex # should be available as a class constant
  18. a = Test_int.cavity_flags