PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 1ms

/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
  1. require 'static_const_member_2'
  2. include Static_const_member_2
  3. c = Test_int.new
  4. a = Test_int::Forward_field # should be available as a class constant
  5. a = Test_int::Current_profile # should be available as a class constant
  6. a = Test_int::RightIndex # should be available as a class constant
  7. a = Test_int::Backward_field # should be available as a class constant
  8. a = Test_int::LeftIndex # should be available as a class constant
  9. a = Test_int.cavity_flags