Results for: "minmax"

Returns the minute of the hour (0..59) for time.

t = Time.now   #=> 2007-11-19 08:25:51 -0600
t.min          #=> 25

Puts ios into binary mode. Once a stream is in binary mode, it cannot be reset to nonbinary mode.

Returns true if ios is binmode.

Returns the minimum value in the range. Returns nil if the begin value of the range is larger than the end value.

Can be given an optional block to override the default comparison method a <=> b.

(10..20).min    #=> 10

Returns the maximum value in the range. Returns nil if the begin value of the range larger than the end value.

Can be given an optional block to override the default comparison method a <=> b.

(10..20).max    #=> 20

Return true if the receiver matches the given pattern.

See File.fnmatch.

Return true if the receiver matches the given pattern.

See File.fnmatch.

No documentation available

Set the scan pointer to the end of the string and clear matching data.

Returns the method invoke kind.

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbooks')
method = WIN32OLE_METHOD.new(tobj, 'Add')
puts method.invkind # => 1

Explicitly terminate option processing.

Returns true if option processing has terminated, false otherwise.

Returns a section of the matrix. The parameters are either:

Matrix.diagonal(9, 5, -3).minor(0..1, 0..2)
  => 9 0 0
     0 5 0

Like Array#[], negative indices count backward from the end of the row or column (-1 is the last element). Returns nil if the starting row or column is greater than row_count or column_count respectively.

Returns the determinant of the matrix.

Beware that using Float values can yield erroneous results because of their lack of precision. Consider using exact types like Rational or BigDecimal instead.

Matrix[[7,6], [3,9]].determinant
  => 45

deprecated; use Matrix#determinant

Returns the imaginary part of the matrix.

Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]]
  => 1+2i  i  0
        1  2  3
Matrix[[Complex(1,2), Complex(0,1), 0], [1, 2, 3]].imaginary
  =>   2i  i  0
        0  0  0

Terminates option parsing. Optional parameter arg is a string pushed back to be the first non-option argument.

No documentation available

Terminates option parsing. Optional parameter arg is a string pushed back to be the first non-option argument.

No documentation available

Returns 1.

Returns the main thread.

Terminates thr and schedules another thread to be run.

If this thread is already marked to be killed, exit returns the Thread.

If this is the main thread, or the last thread, exits the process.

Returns the binding associated with prc. Note that Kernel#eval accepts either a Proc or a Binding object as its second parameter.

def fred(param)
  proc {}
end

b = fred(99)
eval("param", b.binding)   #=> 99

Return the generated binding object from event

Search took: 5ms  ·  Total Results: 1824