クラス
-
ARGF
. class (105) - Array (382)
- Bignum (33)
- Binding (6)
- Complex (66)
- Data (14)
- Dir (342)
- Encoding (99)
-
Encoding
:: Converter (132) -
Encoding
:: InvalidByteSequenceError (22) -
Encoding
:: UndefinedConversionError (22) - Enumerator (106)
-
Enumerator
:: ArithmeticSequence (84) -
Enumerator
:: Chain (36) -
Enumerator
:: Lazy (282) -
Enumerator
:: Yielder (27) - Exception (11)
- File (590)
-
File
:: Stat (473) - Fixnum (30)
- Float (341)
- Hash (139)
- IO (387)
- Integer (122)
- LoadError (11)
- MatchData (224)
- Method (11)
- Module (143)
- NilClass (44)
- NoMethodError (8)
- Numeric (182)
- Object (117)
- Proc (11)
-
Process
:: Status (132) -
Process
:: Tms (44) - Random (66)
- Range (34)
- Rational (315)
- Regexp (44)
-
RubyVM
:: InstructionSequence (62) - StopIteration (11)
- String (387)
- Struct (28)
- Symbol (11)
- SyntaxError (2)
- SystemExit (22)
- Thread (93)
-
Thread
:: Backtrace :: Location (77) - Time (113)
- TracePoint (21)
- UnboundMethod (11)
モジュール
- Enumerable (369)
-
File
:: Constants (44) - FileTest (22)
- GC (66)
-
GC
:: Profiler (22) - Kernel (350)
- Math (88)
- ObjectSpace (11)
- Process (84)
-
RubyVM
:: AbstractSyntaxTree (8) - Warning (16)
キーワード
-
$ ? (11) -
$ LOADED _ FEATURES (11) -
$ LOAD _ PATH (11) -
$ ~ (11) - % (12)
- & (11)
- * (17)
- ** (17)
- + (23)
- - (28)
- -@ (8)
-
/ (17) - << (11)
- <=> (33)
- == (28)
- >> (11)
-
ALT
_ SEPARATOR (11) - ArithmeticSequence (6)
- CREAT (11)
- Chain (6)
- CompatibilityError (11)
- DATA (11)
- DIG (11)
- DomainError (11)
- EPROGMISMATCH (11)
- EPSILON (11)
- ERPCMISMATCH (11)
-
FNM
_ DOTMATCH (11) -
FNM
_ PATHNAME (11) - Float (6)
- FloatDomainError (11)
- INFINITY (11)
- Location (11)
- MACCROATIAN (11)
-
MANT
_ DIG (11) -
MAX
_ 10 _ EXP (11) -
MAX
_ EXP (11) - MIN (11)
-
MIN
_ 10 _ EXP (11) -
MIN
_ EXP (11) - MacCroatian (11)
- NOATIME (11)
- NoMatchingPatternError (5)
-
PATH
_ SEPARATOR (11) - PI (11)
- RADIX (11)
-
RLIMIT
_ DATA (11) - ROUNDS (7)
-
RUBY
_ PATCHLEVEL (11) -
RUBY
_ PLATFORM (11) -
RUBY
_ RELEASE _ DATE (11) - Rational (22)
-
SEEK
_ DATA (11) - SEPARATOR (11)
-
STATELESS
_ ISO _ 2022 _ JP (11) -
STATELESS
_ ISO _ 2022 _ JP _ KDDI (11) - Separator (11)
- Stat (11)
-
Stateless
_ ISO _ 2022 _ JP (11) -
Stateless
_ ISO _ 2022 _ JP _ KDDI (11) - Status (11)
- StopIteration (11)
- Yielder (11)
- [] (104)
- []= (5)
-
abort
_ on _ exception= (22) - abs (8)
-
absolute
_ path (33) -
absolute
_ path? (5) - angle (11)
- arg (11)
-
ascii
_ compatible? (11) -
asciicompat
_ encoding (22) - asin (11)
- asinh (11)
-
at
_ exit (11) - atime (33)
- attr (24)
-
attr
_ accessor (8) -
attr
_ reader (8) -
attr
_ writer (11) - autoload (22)
-
backtrace
_ locations (33) -
base
_ label (11) - begin (17)
- binread (11)
- binwrite (11)
- birthtime (11)
- blksize (11)
- blockdev? (22)
- blocks (11)
- bsearch (22)
-
bsearch
_ index (9) - byteindex (2)
- byteoffset (4)
- byterindex (2)
- bytes (7)
- caller (33)
-
caller
_ locations (22) - captures (11)
- catch (22)
- ceil (26)
- chain (6)
- chardev? (22)
- chars (7)
- chdir (33)
- children (14)
- chroot (11)
- chunk (11)
-
chunk
_ while (19) -
clock
_ gettime (11) - codepoints (14)
- coerce (11)
- collect (11)
- collect! (11)
-
collect
_ concat (33) - combination (22)
- compatible? (11)
- compile (11)
- concat (19)
- conjugate (22)
-
const
_ source _ location (5) - convert (11)
- convpath (11)
- cstime (11)
- ctime (11)
- cutime (11)
- cycle (22)
-
deconstruct
_ keys (2) - define (4)
- delete (11)
-
delete
_ at (11) -
delete
_ if (33) - denominator (55)
-
destination
_ encoding (33) -
destination
_ encoding _ name (22) - detect (11)
- dev (11)
-
dev
_ major (11) -
dev
_ minor (11) - directory? (22)
- div (6)
- divmod (11)
- downto (11)
-
drop
_ while (33) - each (90)
-
each
_ byte (22) -
each
_ char (33) -
each
_ child (34) -
each
_ codepoint (33) -
each
_ grapheme _ cluster (7) -
each
_ index (11) -
each
_ line (66) -
each
_ pair (33) -
each
_ slice (11) -
each
_ with _ index (11) -
each
_ with _ object (11) - empty? (16)
- end (17)
- entries (22)
-
enum
_ for (22) -
exclude
_ end? (6) - executable? (22)
-
executable
_ real? (22) - exist? (11)
- exists? (9)
- exit (22)
- exit! (22)
- exited? (11)
- exitstatus (11)
- fatal (11)
- fdatasync (11)
- fdiv (28)
- feed (11)
- file? (22)
- filter (36)
- filter! (18)
-
filter
_ map (10) - find (11)
-
find
_ all (22) -
find
_ index (22) - finite? (11)
- first (12)
-
flat
_ map (33) - flatten (11)
- flatten! (11)
- flock (11)
- floor (27)
- fnmatch (11)
- fnmatch? (11)
- foreach (66)
- fork (22)
- format (11)
- frexp (11)
- ftype (11)
- gamma (11)
-
garbage
_ collect (22) - gid (11)
- glob (22)
- grep (22)
-
grep
_ v (20) -
group
_ by (11) - grpowned? (22)
- gsub (66)
- gsub! (44)
-
handle
_ interrupt (11) - hash (41)
- index (29)
- infinite? (11)
- ino (11)
- inspect (69)
- isatty (11)
- iterator? (11)
-
keep
_ if (33) - key (7)
- label (11)
- last (12)
-
last
_ match (11) -
last
_ status (7) -
latest
_ gc _ info (22) - length (11)
- lgamma (11)
- lineno (11)
- lines (42)
-
load
_ from _ binary _ extra _ data (9) - lstat (22)
- lutime (7)
- magnitude (19)
- map (11)
- map! (11)
-
marshal
_ dump (11) - match (55)
- match? (8)
-
max
_ by (22) -
min
_ by (22) -
minmax
_ by (11) - mkdir (11)
- mode (11)
- modulo (6)
- mtime (11)
- names (11)
- negative? (26)
- new (134)
- nlink (11)
- numerator (55)
- offset (22)
- open (66)
- owned? (22)
- pack (19)
-
parse
_ file (8) - partition (11)
- path (92)
- permutation (22)
- phase (11)
- pid (11)
- pipe? (22)
- positive? (17)
-
post
_ match (11) -
pre
_ match (11) -
primitive
_ convert (44) - printf (44)
- private (46)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ constant (11) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) - produce (5)
- quo (22)
- rand (66)
- rationalize (99)
-
raw
_ data (11) - rdev (11)
-
rdev
_ major (11) -
rdev
_ minor (11) - read (33)
- readable? (22)
-
readable
_ real? (22) - readlines (33)
- readlink (11)
- realdirpath (11)
- realpath (11)
- reject (44)
- reject! (33)
- remainder (3)
- reopen (22)
-
repeated
_ combination (22) -
repeated
_ permutation (22) - replicate (11)
-
report
_ on _ exception= (16) - require (11)
-
require
_ relative (11) -
respond
_ to _ missing? (11) - result (11)
- rewind (17)
- rindex (22)
- rmdir (11)
- round (34)
-
ruby2
_ keywords (5) - saturday? (11)
- scan (22)
-
search
_ convpath (11) - select (51)
- select! (28)
- setgid? (22)
- setuid? (22)
- signaled? (11)
- sin (11)
- sinh (11)
- size (67)
- size? (22)
-
slice
_ after (42) -
slice
_ before (55) -
slice
_ when (21) - socket? (22)
-
sort
_ by (11) -
source
_ location (39) - split (11)
- sprintf (11)
- start (11)
- stat (54)
- state (22)
- status (22)
- step (85)
- sticky? (22)
- stime (11)
- stopsig (11)
- strftime (11)
- string (11)
- sub (55)
- sub! (33)
- subsec (11)
- symlink? (22)
- sync= (11)
- sysopen (11)
-
take
_ while (44) - terminate (11)
- termsig (11)
- times (11)
-
to
_ a (11) -
to
_ binary (9) -
to
_ enum (22) -
to
_ f (61) -
to
_ i (33) -
to
_ path (24) -
to
_ proc (5) -
to
_ r (77) -
to
_ s (57) -
total
_ time (11) - tr (11)
- tr! (11)
-
tr
_ s (11) -
tr
_ s! (11) -
transform
_ keys (7) -
transform
_ keys! (7) -
transform
_ values (8) -
transform
_ values! (8) - truncate (66)
- tty? (11)
- uid (11)
- union (11)
- uniq (16)
- unlink (11)
- unpack (11)
- unpack1 (8)
- upto (11)
- utime (22)
-
values
_ at (22) - wait2 (11)
- waitall (11)
- waitpid2 (11)
- warn (9)
- with (2)
-
with
_ index (32) -
with
_ object (22) -
world
_ readable? (33) -
world
_ writable? (33) - writable? (22)
-
writable
_ real? (22) - write (22)
- yield (11)
-
yield
_ self (7) - zero? (22)
- zip (22)
検索結果
先頭5件
- Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding - Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String - Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding - Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String - Encoding
:: Converter # destination _ encoding -> Encoding
-
Encoding
:: InvalidByteSequenceError # destination _ encoding -> Encoding (32402.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#source_encoding,
Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: InvalidByteSequenceError # destination _ encoding _ name -> String (32402.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#destination_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding -> Encoding (32402.0) -
エラーを発生させた変換の変換先のエンコーディングを Encoding オブジェクトで返します。
...エラーを発生させた変換の変換先のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::UndefinedConversionError#source_encoding... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (32402.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: Converter # destination _ encoding -> Encoding (29402.0) -
変換先のエンコーディングを返します。
...変換先のエンコーディングを返します。
@return 変換先のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.destination_encoding #=> #<Encoding:EUC-JP>
//}... -
Time
. at(time) -> Time (29385.0) -
time で指定した時刻の Time オブジェクトを返します。
...time で指定した時刻の Time オブジェクトを返します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がなく
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。......@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを......指定します。
//emlist[][ruby]{
Time.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) # =... -
Time
. at(time , in:) -> Time (29385.0) -
time で指定した時刻の Time オブジェクトを返します。
...time で指定した時刻の Time オブジェクトを返します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がなく
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。......@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを......指定します。
//emlist[][ruby]{
Time.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) # =... -
Time
. at(time) -> Time (29373.0) -
time で指定した時刻の Time オブジェクトを返します。
...time で指定した時刻の Time オブジェクトを返します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がなく
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。......@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
数値でタイムゾーンを指定します。
//emlist[][ruby]{
Time.at(0)......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(-284061600) # => 1960-12-31 15:00:00 +0900
Time.at(9... -
Time
. at(time , in:) -> Time (29373.0) -
time で指定した時刻の Time オブジェクトを返します。
...time で指定した時刻の Time オブジェクトを返します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がなく
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。......@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
数値でタイムゾーンを指定します。
//emlist[][ruby]{
Time.at(0)......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(-284061600) # => 1960-12-31 15:00:00 +0900
Time.at(9... -
Time
. at(time) -> Time (29358.0) -
time で指定した時刻の Time オブジェクトを返します。
...time で指定した時刻の Time オブジェクトを返します。
引数が数値の場合、生成された Time オブジェクトのタイムゾーンは地方時となります。
@param time Time オブジェクト、もしくは起算時からの経過秒数を表わす数値で指定......します。
//emlist[][ruby]{
Time.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(-284061600) # => 1960-12-31 15:00:00 +0900
Time.at(946684800.2).usec # => 200000
//}... -
Time
. at(time , usec) -> Time (29330.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
...time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がない場合、
生成された 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 (29330.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
...time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がない場合、
生成された 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 (29328.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
...time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がない場合、
生成された 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 (29328.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
...time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
キーワード引数 in でタイムゾーンを指定できます。タイムゾーンの指定がない場合、
生成された 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 (29323.0) -
time + (usec/1000000) の時刻を表す Time オブジェクトを返します。 浮動小数点の精度では不十分な場合に使用します。
...time + (usec/1000000) の時刻を表す Time オブジェクトを返します。
浮動小数点の精度では不十分な場合に使用します。
生成された Time オブジェクトのタイムゾーンは地方時となります。
@param time 起算時からの経過秒数を表わ......す値をInteger、 Float、 Rational、または他のNumericで指定します。
@param usec マイクロ秒をInteger、 Float、 Rational、または他のNumericで指定します。
//emlist[][ruby]{
Time.at(946684800, 123456.789).nsec # => 123456789
//}... -
Time
. at(seconds , xseconds , unit) -> Time (29245.0) -
unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
...unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒......it :millisecond, :usec, :microsecond, :nsec, :nanosecond のいずれかを指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを指定します。
//emli......st[][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 # => 123456789
//}... -
Time
. at(seconds , xseconds , unit , in:) -> Time (29245.0) -
unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
...unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒......it :millisecond, :usec, :microsecond, :nsec, :nanosecond のいずれかを指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
"UTC" かミリタリータイムゾーンの文字列または
数値でタイムゾーンを指定します。
//emli......st[][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 # => 123456789
//}... -
Time
. at(seconds , xseconds , unit) -> Time (29243.0) -
unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
...unit に応じて seconds + xseconds ミリ秒などの時刻を表す Time オブジェクトを返します。
@param seconds 起算時からの経過秒数を表わす値をInteger、 Float、 Rational、または他のNumericで指定します。
@param xseconds unit に対応するミリ秒......。
@param unit :millisecond, :usec, :microsecond, :nsec, :nanosecond のいずれかを指定します。
@param in "+HH:MM" や "-HH:MM" のような形式の文字列か
数値でタイムゾーンを指定します。
//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 # => 123456789
//}...