るりまサーチ

最速Rubyリファレンスマニュアル検索!
80件ヒット [1-80件を表示] (0.118秒)

別のキーワード

  1. numeric step
  2. _builtin numeric
  3. numeric +@
  4. numeric abs
  5. numeric %

ライブラリ

クラス

モジュール

キーワード

検索結果

Time.at(time) -> Time (18187.0)

time で指定した時刻の Time オブジェクトを返します。

...ime.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0).getutc) # => 1970-01-01 00:00:00 UTC
Time.at(946702800) # => 2000-01-01 14:00:00 +0900
Time.at(-28...
...00 +0900
Time.at(946684800.2).usec # => 200000
Time.at(1582721899, in: "+09:00") # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: 9*60*60) # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: "UTC") # => 2020-02-26 12:58:19 UTC
Time.at(1582721899,...

Time.at(time, in:) -> Time (18187.0)

time で指定した時刻の Time オブジェクトを返します。

...ime.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0).getutc) # => 1970-01-01 00:00:00 UTC
Time.at(946702800) # => 2000-01-01 14:00:00 +0900
Time.at(-28...
...00 +0900
Time.at(946684800.2).usec # => 200000
Time.at(1582721899, in: "+09:00") # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: 9*60*60) # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: "UTC") # => 2020-02-26 12:58:19 UTC
Time.at(1582721899,...

Time.at(time) -> Time (18175.0)

time で指定した時刻の Time オブジェクトを返します。

...ime.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0).getutc) # => 1970-01-01 00:00:00 UTC
Time.at(946702800) # => 2000-01-01 14:00:00 +0900
Time.at(-28...
...4061600) # => 1960-12-31 15:00:00 +0900
Time.at(946684800.2).usec # => 200000
Time.at(1582721899, in: "+09:00") # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: 9*60*60) # => 2020-02-26 21:58:19 +0900
//}...

Time.at(time, in:) -> Time (18175.0)

time で指定した時刻の Time オブジェクトを返します。

...ime.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0).getutc) # => 1970-01-01 00:00:00 UTC
Time.at(946702800) # => 2000-01-01 14:00:00 +0900
Time.at(-28...
...4061600) # => 1960-12-31 15:00:00 +0900
Time.at(946684800.2).usec # => 200000
Time.at(1582721899, in: "+09:00") # => 2020-02-26 21:58:19 +0900
Time.at(1582721899, in: 9*60*60) # => 2020-02-26 21:58:19 +0900
//}...

Time.at(time) -> Time (18160.0)

time で指定した時刻の Time オブジェクトを返します。

...ime.at(0) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0)) # => 1970-01-01 09:00:00 +0900
Time.at(Time.at(0).getutc) # => 1970-01-01 00:00:00 UTC
Time.at(946702800) # => 2000-01-01 14:00:00 +0900
Time.at(-28...
...4061600) # => 1960-12-31 15:00:00 +0900
Time.at(946684800.2).usec # => 200000
//}...

絞り込み条件を変える

Time.at(seconds, xseconds, unit) -> Time (18152.0)

unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。

...を表す Time オブジェクトを返します。

@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒かマイクロ秒かナノ秒を指定します。
@param unit...
...ンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123.456789, :millisecond).nsec # => 123456789
Time.at(946684800, 123456.789, :usec).nsec # => 123456789
Time.at(946684800, 123456.789, :microsecond).nsec # => 123456789
Time.at(946684800, 123456789, :nsec).nsec # => 12...

Time.at(seconds, xseconds, unit, in:) -> Time (18152.0)

unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。

...を表す Time オブジェクトを返します。

@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒かマイクロ秒かナノ秒を指定します。
@param unit...
...ンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123.456789, :millisecond).nsec # => 123456789
Time.at(946684800, 123456.789, :usec).nsec # => 123456789
Time.at(946684800, 123456.789, :microsecond).nsec # => 123456789
Time.at(946684800, 123456789, :nsec).nsec # => 12...

Time.at(seconds, xseconds, unit) -> Time (18150.0)

unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。

...を表す Time オブジェクトを返します。

@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒かマイクロ秒かナノ秒を指定します。
@param unit...
...ンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123.456789, :millisecond).nsec # => 123456789
Time.at(946684800, 123456.789, :usec).nsec # => 123456789
Time.at(946684800, 123456.789, :microsecond).nsec # => 123456789
Time.at(946684800, 123456789, :nsec).nsec # => 12...

Time.at(seconds, xseconds, unit, in:) -> Time (18150.0)

unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。

...を表す Time オブジェクトを返します。

@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒かマイクロ秒かナノ秒を指定します。
@param unit...
...ンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123.456789, :millisecond).nsec # => 123456789
Time.at(946684800, 123456.789, :usec).nsec # => 123456789
Time.at(946684800, 123456.789, :microsecond).nsec # => 123456789
Time.at(946684800, 123456789, :nsec).nsec # => 12...

Time.at(seconds, xseconds, unit) -> Time (18145.0)

unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。

...、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒かマイクロ秒かナノ秒を指定します。
@param unit :millisecond, :usec, :microsecond, :nsec, :nanosecond のいずれかを指定します。

//emlist[][ruby]{
Time.at(94668...
...4800, 123.456789, :millisecond).nsec # => 123456789
Time.at(946684800, 123456.789, :usec).nsec # => 123456789
Time.at(946684800, 123456.789, :microsecond).nsec # => 123456789
Time.at(946684800, 123456789, :nsec).nsec # => 123456789
//}...

絞り込み条件を変える

Time.at(time, usec) -> Time (18142.0)

time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。

...@param time 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。

@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。

@param in "+HH:MM" や "-HH:MM" のような形式の文...
...字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}...

Time.at(time, usec, in:) -> Time (18142.0)

time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。

...@param time 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。

@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。

@param in "+HH:MM" や "-HH:MM" のような形式の文...
...字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}...

Time.at(time, usec) -> Time (18140.0)

time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。

...@param time 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。

@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。

@param in "+HH:MM" や "-HH:MM" のような形式の文...
...字列か
数値でタイムゾーンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}...

Time.at(time, usec, in:) -> Time (18140.0)

time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。

...@param time 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。

@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。

@param in "+HH:MM" や "-HH:MM" のような形式の文...
...字列か
数値でタイムゾーンを指定します。

//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}...

Time.at(time, usec) -> Time (18135.0)

time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。

...時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。

@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。


//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}...

絞り込み条件を変える

GC.stat(key) -> Numeric (6202.0)

GC 内部の統計情報を Hash で返します。

...場合は数値を返します。

GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slot=>519,
:heap_final_slot=>0,
:heap_swept_slot=>818,
:total_allocated_object=>7674,
:total_freed_object=...
...で返します。
引数 key を指定した場合は数値を返します。

GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,
:heap_available_slots=>9783,
:heap_live_slots=>7713,
:heap_free_...
...heap_marked_slots=>0,
:heap_swept_slots=>0,
:heap_eden_pages=>24,
:heap_tomb_pages=>0,
:total_allocated_pages=>24,
:total_freed_pages=>0,
:total_allocated_objects=>7796,
:total_freed_objects=>83,
:malloc_increase_bytes=>2389312,
:malloc_increase_bytes_lim...

GC.stat(result_hash = {}) -> {Symbol => Integer} (6102.0)

GC 内部の統計情報を Hash で返します。

...場合は数値を返します。

GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_increment=>2,
:heap_live_slot=>6836,
:heap_free_slot=>519,
:heap_final_slot=>0,
:heap_swept_slot=>818,
:total_allocated_object=>7674,
:total_freed_object=...
...で返します。
引数 key を指定した場合は数値を返します。

GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_length=>24,
:heap_allocatable_pages=>0,
:heap_available_slots=>9783,
:heap_live_slots=>7713,
:heap_free_...
...heap_marked_slots=>0,
:heap_swept_slots=>0,
:heap_eden_pages=>24,
:heap_tomb_pages=>0,
:total_allocated_pages=>24,
:total_freed_pages=>0,
:total_allocated_objects=>7796,
:total_freed_objects=>83,
:malloc_increase_bytes=>2389312,
:malloc_increase_bytes_lim...

CSV.table(path, options = Hash.new) -> CSV::Table | [Array] (107.0)

以下と同等のことを行うメソッドです。

...のことを行うメソッドです。

//emlist[][ruby]{
CSV.read( path, { headers: true,
converters: :numeric,
header_converters: :symbol }.merge(options) )
//}

@param path ファイル名を指定します。

@param options CSV.new のオプ...