Module: Rubex::DataType::IntHelpers

Includes:
Helpers
Included in:
Int, Int16, Int32, Int64, Int8, LInt, LLInt
Defined in:
lib/rubex/data_type_helpers/int_helpers.rb

Instance Method Summary collapse

Methods included from Helpers

#==, #base_type, #c_function_ptr?, #char_ptr?, #from_ruby_object

Instance Method Details

#to_ruby_object(arg) ⇒ Object



5
6
7
# File 'lib/rubex/data_type_helpers/int_helpers.rb', line 5

def to_ruby_object(arg)
  "INT2NUM(#{arg})"
end