ライブラリ
- ビルトイン (3216)
- abbrev (13)
- base64 (78)
- benchmark (65)
- bigdecimal (52)
-
bigdecimal
/ jacobian (39) -
bigdecimal
/ ludcmp (26) -
bigdecimal
/ math (78) -
bigdecimal
/ newton (26) - cmath (240)
- continuation (13)
- digest (13)
-
digest
/ bubblebabble (13) - drb (169)
- erb (65)
- etc (273)
- fiddle (78)
- fileutils (606)
- find (39)
- json (169)
- kconv (169)
- mathn (8)
- nkf (26)
- objspace (143)
- open-uri (16)
- open3 (234)
- openssl (806)
- pp (4)
- profiler (18)
- pty (52)
- readline (13)
- rubygems (143)
- shellwords (52)
- syslog (299)
- timeout (23)
- uri (13)
-
webrick
/ accesslog (39) -
webrick
/ htmlutils (13) -
webrick
/ httpauth (26) -
webrick
/ httpstatus (91) -
webrick
/ httputils (143) -
webrick
/ utils (78) -
win32
/ registry (208) -
win32
/ resolv (26) - zlib (116)
クラス
-
Win32
:: Resolv (26)
モジュール
- Abbrev (13)
- Base64 (78)
- Benchmark (65)
- BigMath (104)
- CMath (240)
- DRb (156)
-
DRb
:: DRbProtocol (13) - Digest (26)
-
ERB
:: DefMethod (13) -
ERB
:: Util (52) - Etc (273)
- Fiddle (78)
- FileTest (344)
- FileUtils (606)
- Find (39)
- Gem (143)
- JSON (169)
- Jacobian (39)
- Kconv (169)
- Kernel (1381)
- LUSolve (26)
- Marshal (52)
- Math (359)
- NKF (26)
- Newton (26)
- ObjectSpace (273)
- Open3 (234)
- OpenSSL (52)
-
OpenSSL
:: ASN1 (611) -
OpenSSL
:: PKCS5 (26) -
OpenSSL
:: Random (117) - PTY (52)
- Process (497)
-
Process
:: GID (143) -
Process
:: Sys (195) -
Process
:: UID (143) -
Profiler
_ _ (18) - Readline (13)
- Shellwords (52)
- Signal (52)
- Syslog (273)
-
Syslog
:: Macros (26) - Timeout (23)
-
WEBrick
:: AccessLog (39) -
WEBrick
:: HTMLUtils (13) -
WEBrick
:: HTTPAuth (26) -
WEBrick
:: HTTPStatus (91) -
WEBrick
:: HTTPUtils (143) -
WEBrick
:: Utils (78) -
Win32
:: Registry :: API (208) - Zlib (116)
キーワード
- Array (13)
- BMPString (26)
- BigDecimal (26)
- BitString (26)
- Boolean (26)
- CloseKey (13)
- Complex (26)
- CreateKey (13)
- DeleteKey (13)
- DeleteValue (13)
- E (13)
- EnumKey (13)
- EnumValue (13)
- Enumerated (26)
- Float (13)
- FlushKey (13)
- GeneralString (26)
- GeneralizedTime (26)
- GraphicString (26)
- Hash (13)
- IA5String (26)
- ISO64String (26)
- Integer (39)
-
LOG
_ MASK (13) -
LOG
_ UPTO (13) - Null (26)
- NumericString (26)
- ObjectId (26)
- OctetString (26)
- OpenKey (13)
- PI (13)
- PrintableString (26)
- QueryInfoKey (13)
- QueryValue (13)
- Rational (13)
- Sequence (26)
- Set (26)
- SetValue (13)
- String (13)
- T61String (26)
- URI (13)
- UTCTime (26)
- UTF8String (26)
- UniversalString (26)
- VideotexString (26)
-
_ _ callee _ _ (13) -
_ _ dir _ _ (13) -
_ _ method _ _ (13) -
_ id2ref (13) - ` (13)
- abbrev (13)
- abort (26)
- acos (19)
- acos! (6)
- acosh (19)
- acosh! (6)
-
add
_ protocol (13) - adler32 (19)
-
adler32
_ combine (13) - alert (13)
-
allocation
_ sourcefile (13) -
allocation
_ sourceline (13) - argv0 (13)
- asin (19)
- asin! (6)
- asinh (19)
- asinh! (6)
-
at
_ exit (13) - atan (32)
- atan! (6)
- atan2 (19)
- atan2! (6)
- atanh (19)
- atanh! (6)
- autoload (13)
- autoload? (13)
-
basic
_ auth (13) - benchmark (13)
- binding (13)
-
block
_ given? (13) - blockdev? (13)
- bm (13)
- bmbm (13)
- bubblebabble (13)
- callcc (13)
- caller (39)
-
caller
_ locations (26) - capture2 (13)
- capture2e (13)
- capture3 (13)
- catch (26)
- cbrt (19)
- cbrt! (6)
- cd (26)
-
change
_ privilege (26) - chardev? (13)
- chdir (26)
- check (13)
- chmod (13)
-
chmod
_ R (13) - chomp (13)
- chop (13)
- chown (13)
-
chown
_ R (13) -
clear
_ paths (13) -
client
_ error? (13) -
clock
_ gettime (13) - close (13)
- cmp (13)
-
compare
_ file (13) -
compare
_ stream (13) - config (13)
- confstr (13)
- copy (13)
-
copy
_ entry (13) -
copy
_ file (13) -
copy
_ stream (13) - cos (32)
- cos! (6)
- cosh (19)
- cosh! (6)
-
count
_ nodes (13) -
count
_ objects (13) -
count
_ objects _ size (13) -
count
_ tdata _ objects (13) - cp (13)
-
cp
_ lr (8) -
cp
_ r (13) - crc32 (19)
-
crc32
_ combine (13) -
crc
_ table (13) -
create
_ listeners (13) - crit (13)
-
current
_ server (13) - daemon (13)
- debug (26)
- debug= (13)
- decode (13)
- decode64 (13)
-
decode
_ all (13) -
def
_ erb _ method (13) -
define
_ finalizer (26) - deflate (13)
- dequote (13)
- detach (13)
- dfdxi (13)
- dir (13)
- directory? (13)
- dlopen (13)
- dlunwrap (13)
- dlwrap (13)
- dump (39)
-
each
_ object (52) - egd (13)
-
egd
_ bytes (13) - egid (13)
- egid= (13)
- eid (26)
- eid= (26)
- emerg (13)
- empty? (10)
- encode64 (13)
- endgrent (13)
- endpwent (13)
-
ensure
_ gem _ subdirectories (13) - erf (13)
- erfc (13)
- err (13)
- error? (13)
- errors (13)
- escape (39)
- escape8bit (13)
-
escape
_ path (13) - euid (13)
- euid= (13)
- eval (26)
- exec (52)
- executable? (13)
-
executable
_ real? (13) - exist? (13)
- exists? (9)
- exit (13)
- exit! (13)
- exp (32)
- exp! (6)
- facility (13)
- fail (39)
-
fast
_ generate (13) -
fast
_ unparse (13) - file? (13)
- find (26)
-
fips
_ mode= (13) - fork (26)
- format (26)
- free (13)
- frexp (13)
-
from
_ name (26) - front (13)
- gamma (13)
-
garbage
_ collect (13) - generate (13)
-
get
_ hosts _ path (13) -
get
_ resolv _ info (13) - getegid (13)
- geteuid (13)
- getgid (13)
- getgrent (13)
- getgrgid (13)
- getgrnam (13)
- getlogin (13)
- getpgid (13)
- getpgrp (13)
- getpriority (13)
- getpty (26)
- getpwent (13)
- getpwnam (13)
- getpwuid (13)
- getrlimit (13)
- gets (13)
- getservername (13)
- getsid (13)
- getuid (13)
- getwd (13)
- gid (13)
- gid= (13)
-
global
_ variables (13) -
grant
_ privilege (26) - group (26)
- groups (13)
- groups= (13)
- grpowned? (13)
- gsub (39)
- guess (26)
- h (13)
- here? (13)
- hexencode (13)
-
html
_ escape (13) - hypot (13)
- ident (13)
- identical? (26)
- inflate (13)
- info (13)
- info? (13)
- initgroups (13)
- install (13)
-
install
_ acl (13) -
install
_ id _ conv (13) - instance (13)
- isEqual (13)
- iseuc (13)
- isjis (13)
- issetugid (13)
- issjis (13)
- isutf8 (13)
- iterator? (13)
- jacobian (13)
- kconv (13)
- kill (13)
- lambda (19)
- ldexp (13)
- lgamma (13)
- link (13)
- list (13)
- ln (13)
-
ln
_ s (13) -
ln
_ sf (13) - load (39)
-
load
_ file (13) -
load
_ file! (13) -
load
_ mime _ types (13) -
load
_ random _ file (13) -
local
_ variables (13) - log (64)
- log! (12)
- log10 (19)
- log10! (6)
- log2 (19)
- log2! (6)
- loop (26)
- ludecomp (13)
- lusolve (13)
- makedirs (13)
- malloc (13)
-
marshal
_ version (13) - mask (13)
- mask= (13)
- maxgroups (13)
- maxgroups= (13)
- measure (13)
-
memsize
_ of (13) -
memsize
_ of _ all (13) -
mime
_ type (13) - mkdir (13)
-
mkdir
_ p (13) - mkpath (13)
- move (13)
- mv (13)
- nkf (13)
- nlsolve (13)
- norm (13)
- notice (13)
- nprocessors (13)
- open (68)
- open! (13)
- opened? (13)
- owned? (13)
- p (13)
- packdw (13)
- packqw (13)
- parse (13)
- parse! (13)
-
parse
_ header (13) -
parse
_ range _ header (13) - passwd (26)
- path (13)
-
pbkdf2
_ hmac (13) -
pbkdf2
_ hmac _ sha1 (13) - pid (13)
- pipe? (13)
- pipeline (13)
-
pipeline
_ r (26) -
pipeline
_ rw (26) -
pipeline
_ start (26) -
pipeline
_ w (26) - popen2 (26)
- popen2e (26)
- popen3 (26)
- pp (13)
- ppid (13)
- prefix (13)
-
pretty
_ generate (13) -
pretty
_ unparse (13) -
primary
_ server (13) -
primary
_ server= (13) - print (13)
-
print
_ profile (6) - printf (26)
- proc (20)
-
proxy
_ basic _ auth (13) - prune (13)
-
pseudo
_ bytes (13) - putc (13)
- puts (13)
- pwd (13)
- quote (13)
- raise (39)
- rand (26)
-
random
_ add (13) -
random
_ bytes (13) -
random
_ string (13) -
re
_ exchange (26) -
re
_ exchangeable? (26) -
reachable
_ objects _ from (13) - readable? (13)
-
readable
_ real? (13) - readline (26)
- readlines (13)
- realloc (13)
- realtime (13)
-
reason
_ phrase (13) - redirect? (13)
- remove (13)
-
remove
_ dir (13) -
remove
_ entry (13) -
remove
_ entry _ secure (13) -
remove
_ file (13) - reopen (13)
- require (13)
-
require
_ relative (13) - restore (26)
- rid (26)
- rm (13)
-
rm
_ f (13) -
rm
_ r (13) -
rm
_ rf (13) - rmdir (13)
- rmtree (13)
- rsqrt (4)
- ruby (13)
-
safe
_ unlink (13) - seed (13)
- select (13)
-
server
_ error? (13) -
set
_ close _ on _ exec (13) -
set
_ home (13) -
set
_ non _ blocking (13) -
set
_ paths (13) -
set
_ trace _ func (13) - setegid (13)
- seteuid (13)
- setgid (13)
- setgid? (13)
- setgrent (13)
- setpgid (13)
- setpgrp (13)
- setpriority (13)
- setproctitle (13)
- setpwent (13)
- setregid (13)
- setresgid (13)
- setresuid (13)
- setreuid (13)
- setrgid (13)
- setrlimit (26)
- setruid (13)
- setsid (13)
- setuid (13)
- setuid? (13)
-
setup
_ params (13) - shellescape (13)
- shelljoin (13)
- shellsplit (13)
- shellwords (13)
-
sid
_ available? (26) - signame (13)
- sin (32)
- sin! (6)
- sinh (19)
- sinh! (6)
- size (13)
- size? (13)
- sleep (26)
- socket? (13)
-
source
_ index (13) - spawn (78)
-
split
_ header _ value (13) - sprintf (13)
- sqrt (36)
- sqrt! (6)
- srand (26)
-
start
_ profile (6) -
start
_ service (13) - status? (13)
- sticky? (13)
-
stop
_ profile (6) -
stop
_ service (13) -
strict
_ decode64 (13) -
strict
_ encode64 (13) - su (13)
- sub (26)
- success? (13)
- switch (52)
- symlink (13)
- symlink? (13)
- syscall (13)
- sysconf (13)
- sysconfdir (13)
- system (52)
- systmpdir (13)
- tan (19)
- tan! (6)
- tanh (19)
- tanh! (6)
- test (26)
- thread (13)
- throw (13)
- timeout (23)
- times (13)
- toeuc (13)
- tojis (13)
- tolocale (13)
- tosjis (13)
- touch (13)
- toutf16 (13)
- toutf32 (13)
- toutf8 (13)
-
trace
_ object _ allocations (13) -
trace
_ object _ allocations _ start (13) -
trace
_ object _ allocations _ stop (13) -
trace
_ var (39) - trap (52)
- traverse (13)
- u (13)
- uid (13)
- uid= (13)
- uname (13)
-
undefine
_ finalizer (13) - unescape (13)
- unpackdw (13)
- unpackqw (13)
- unparse (13)
-
untrace
_ var (13) - uptodate? (13)
- uri (13)
-
url
_ encode (13) -
urlsafe
_ decode64 (13) -
urlsafe
_ encode64 (13) - wait (13)
- wait2 (13)
- waitall (13)
- waitpid (13)
- waitpid2 (13)
- warmup (3)
- warn (13)
- warning (13)
-
win
_ platform? (13) -
world
_ readable? (13) -
world
_ writable? (13) - writable? (13)
-
writable
_ real? (13) -
write
_ random _ file (13) - zero? (13)
-
zlib
_ version (13)
検索結果
先頭5件
-
Abbrev
. # abbrev(words , pattern = nil) -> Hash (1.0) -
文字列の配列から一意に決まる短縮形を計算し、 短縮形をキー、元の文字列を値とするハッシュを返します。
文字列の配列から一意に決まる短縮形を計算し、
短縮形をキー、元の文字列を値とするハッシュを返します。
第二引数に正規表現を指定すると、words のうちそのパターンにマッチしたものから短縮形を計算します。
第二引数に文字列を指定すると、words のうちその文字列で始まるものから短縮形を計算します。
@param words 元となる文字列の配列。
@param pattern Regexp か String を指定します。
@return 短縮形をキー、元の文字列を値とするハッシュを返します。
require 'abbrev'
# words に同じ文字列が含まれ... -
Base64
. # decode64(str) -> String (1.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 2045 に対応しています。
@param str Base64 デコードする文字列を指定します。
require 'base64'
str = 'VGhpcyBpcyBsaW5lIG9uZQpUaGlzIG' +
'lzIGxpbmUgdHdvClRoaXMgaXMgbGlu' +
'ZSB0aHJlZQpBbmQgc28gb24uLi4K'
puts Base64.decode64(str)
# This is line one
# T... -
Base64
. # encode64(bin) -> String (1.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 2045 に対応しています。
エンコード後の文字で 60 文字ごとに改行を追加します。
@param bin Base64 エンコードするデータを指定します。
require 'base64'
Base64.encode64("Now is the time for all good coders\nto learn Ruby")
# => Tm93IGlzIHRoZSB0aW1lIGZvciBhbGwgZ29vZCBjb2RlcnMKdG8gbGVhcm4g
# ... -
Base64
. # strict _ decode64(str) -> String (1.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 4648 に対応しています。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。
例えば、アルファベットでない文字列や CR, LF などが含まれている場合にこの例外は発生します。 -
Base64
. # strict _ encode64(bin) -> String (1.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 4648 に対応しています。
改行コードを追加することはありません。
@param bin Base64 エンコードするデータを指定します。 -
Base64
. # urlsafe _ decode64(str) -> String (1.0) -
与えられた文字列を Base64 デコードしたデータを返します。
与えられた文字列を Base64 デコードしたデータを返します。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
@param str Base64 デコードする文字列を指定します。
@raise ArgumentError 与えられた引数が Base64 エンコードされたデータとして正しい形式ではない場合に発生します。
例えば、アルファベットでない文字列や CR, LF などが含まれている場合にこの例... -
Base64
. # urlsafe _ encode64(bin , padding: true) -> String (1.0) -
与えられたデータを Base64 エンコードした文字列を返します。
与えられたデータを Base64 エンコードした文字列を返します。
このメソッドは 4648 の "Base 64 Encoding with URL and Filename Safe Alphabet" に対応しています。
"+" を "-" に "/" を "_" に置き換えます。
デフォルトでは戻り値は = によるパディングを含むことがあります。
パディングを含めたくない場合は、padding オプションに false を指定してください。
@param bin Base64 エンコードするデータを指定します。
@param padding false を指定した場合、 = によ... -
Benchmark
. # benchmark(caption = "" , label _ width = nil , fmtstr = nil , *labels) {|rep| . . . } -> [Benchmark :: Tms] (1.0) -
Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。
Benchmark::Report オブジェクトを生成し、それを引数として与えられたブロックを実行します。
基本的には以下のように使います。
ブロックが Benchmark::Tms オブジェクトの配列を返した場合は、
それらの数値も追加の行に表示されます。
@param caption レポートの一行目に表示する文字列を指定します。
@param label_width ラベルの幅を指定します。
@param fmtstr フォーマット文字列を指定します。
この引数を省略すると Benchmark::FORMAT が使用されます。...
