# File lib/amalgalite/sqlite3/constants.rb, line 12 def name_from_value( value ) unless defined? @const_map_from_value @const_map_from_value = {} constants.each do |const_name| c_int = const_get( const_name ) @const_map_from_value[c_int] = const_name.to_s end end return @const_map_from_value[ value ] end