version_1_2?

version_1_2?() Class Public methods Returns true if net/http is in version 1.2 mode. Defaults to true. is_version_1_2?

select_rows

select_rows(sql, name = nil, binds = []) Instance Public methods Executes a SELECT query and returns an array of rows. Each row is an array of field values.

state_undefine

state_undefine(*names) Instance Public methods

have_const

have_const(const, headers = nil, opt = "", &b) Instance Public methods Returns whether or not the constant const is defined. You may optionally pass the type of const as [const, type], such as: have_const(%w[PTHREAD_MUTEX_INITIALIZER pthread_mutex_t], "pthread.h") You may also pass additional headers to check against in addition to the common header files, and additional flags to opt which are then passed along to the compiler. If found, a macro is passed as a preprocessor co

rand 2

prng.rand â floatprng.rand(max) â number Instance Public methods When max is an Integer, rand returns a random integer greater than or equal to zero and less than max. Unlike Kernel#rand, when max is a negative integer or zero, rand raises an ArgumentError. prng = Random.new prng.rand(100) # => 42 When max is a Float, rand returns a random floating point number between 0.0 and max, including 0.0 and excluding max. prng.rand(1.5) # => 1.4600282860034115 When max

norm

norm(fv,zero=0.0) Instance Public methods

latin_actual

latin_actual(option=nil) Instance Public methods Also aliased as: ascii_actual

package_name

package_name() Class Public methods

pi

pi(name, *params) Instance Public methods

kanji_metrics_hash

kanji_metrics_hash(option=nil) Instance Public methods