PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

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