Sha256: fbb5f94090155cd62b630523eefeaa9f2f9d690bd882d545db75379c311f01b5
Contents?: true
Size: 828 Bytes
Versions: 1
Compression:
Stored size: 828 Bytes
Contents
module Rod VERSION = "0.7.4.3" # The name of file containing the data base. DATABASE_FILE = "database.yml" # Invalid names of fields. INVALID_NAMES = {"rod_id" => true} TYPE_MAPPING = { :string => 'char *', :integer => 'long', :float => 'double', :ulong => 'unsigned long', :object => 'char *', :json => 'char *' } RUBY_TO_C_MAPPING = { :string => 'StringValuePtr', :integer => 'NUM2LONG', :float => 'NUM2DBL', :ulong => 'NUM2ULONG' } C_TO_RUBY_MAPPING = { :string => 'rb_str_new2', :integer => 'INT2NUM', :float => 'rb_float_new', :ulong => 'ULONG2NUM' } INLINE_PATTERN_RE = /\h+\.\w+$/ LEGACY_DATA_SUFFIX = ".old" NEW_DATA_SUFFIX = ".new" LEGACY_MODULE = "Legacy" LEGACY_RE = /^#{LEGACY_MODULE}::/ BACKUP_PREFIX = "backup/" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rod-0.7.4.3 | lib/rod/constants.rb |