Class: Rubex::DataType::CBoolean
- Defined in:
- lib/rubex/data_type/int/c_boolean.rb
Instance Method Summary collapse
Methods inherited from Int
#<=>, #from_ruby_object, #int?, #p_formatter, #to_s
Methods included from Helpers
#==, #base_type, #c_function_ptr?, #char_ptr?, #from_ruby_object
Instance Method Details
#to_ruby_object(arg) ⇒ Object
8 9 10 |
# File 'lib/rubex/data_type/int/c_boolean.rb', line 8 def to_ruby_object(arg) Rubex::C_MACRO_INT2BOOL + '(' + arg + ')' end |