ライブラリ
- ビルトイン (960)
- bigdecimal (38)
- coverage (24)
- csv (220)
- date (110)
- debug (11)
- drb (44)
-
drb
/ extserv (11) -
drb
/ extservm (11) -
drb
/ timeridconv (11) - erb (22)
- fiddle (22)
- fileutils (11)
- irb (11)
-
irb
/ ext / save-history (11) -
irb
/ inspector (11) - logger (22)
- matrix (84)
-
net
/ ftp (18) -
net
/ http (88) -
net
/ imap (22) -
net
/ pop (22) -
net
/ smtp (6) - openssl (484)
- optparse (33)
- prime (44)
- psych (44)
- pty (11)
- rake (55)
-
rake
/ packagetask (11) - rbconfig (11)
-
rdoc
/ parser (11) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ top _ level (33) - readline (22)
- resolv (198)
- resolv-replace (22)
-
rexml
/ document (121) - rss (11)
-
rubygems
/ command (22) -
rubygems
/ gem _ openssl (22) -
rubygems
/ security (11) -
rubygems
/ server (22) -
rubygems
/ specification (22) -
rubygems
/ user _ interaction (11) -
rubygems
/ version (33) - shell (9)
-
shell
/ builtin-command (6) -
shell
/ process-controller (30) - socket (297)
- strscan (11)
-
test
/ unit (1) - thread (2)
- tracer (11)
-
webrick
/ httpproxy (11) -
webrick
/ httpserver (22) -
webrick
/ httpservlet / abstract (22) -
webrick
/ httpservlet / cgihandler (11) -
webrick
/ httpservlet / erbhandler (11) -
webrick
/ httpservlet / filehandler (44) -
webrick
/ httpservlet / prochandler (11) -
webrick
/ httpversion (22) -
webrick
/ log (11) -
webrick
/ ssl (11) -
win32
/ registry (77) - win32ole (77)
- zlib (77)
クラス
- Addrinfo (33)
- Array (22)
- BasicSocket (22)
- BigDecimal (38)
-
CGI
:: Cookie (11) - CSV (209)
-
CSV
:: Row (11) - Coverage (24)
-
DRb
:: DRbServer (44) -
DRb
:: ExtServ (11) -
DRb
:: ExtServManager (11) -
DRb
:: TimerIdConv (11) - Date (88)
- DateTime (22)
- ERB (22)
-
Encoding
:: Converter (66) - Enumerator (5)
-
Enumerator
:: Lazy (11) -
Fiddle
:: Pointer (22) - File (25)
- FrozenError (5)
-
Gem
:: Command (22) -
Gem
:: Server (22) -
Gem
:: Specification (22) -
Gem
:: StreamUI :: VerboseProgressReporter (11) -
Gem
:: Version (33) - Hash (11)
- IO (143)
-
IRB
:: Inspector (11) - Integer (14)
- KeyError (12)
- Logger (11)
-
Logger
:: LogDevice (11) - Matrix (55)
- NameError (6)
-
Net
:: FTP (18) -
Net
:: HTTP (88) -
Net
:: IMAP (22) -
Net
:: POP3 (22) -
Net
:: SMTP (6) - NoMethodError (14)
-
OpenSSL
:: ASN1 :: BMPString (22) -
OpenSSL
:: ASN1 :: BitString (22) -
OpenSSL
:: ASN1 :: Boolean (11) -
OpenSSL
:: ASN1 :: Enumerated (11) -
OpenSSL
:: ASN1 :: GeneralString (22) -
OpenSSL
:: ASN1 :: GeneralizedTime (22) -
OpenSSL
:: ASN1 :: GraphicString (22) -
OpenSSL
:: ASN1 :: IA5String (22) -
OpenSSL
:: ASN1 :: ISO64String (22) -
OpenSSL
:: ASN1 :: Integer (22) -
OpenSSL
:: ASN1 :: Null (11) -
OpenSSL
:: ASN1 :: NumericString (22) -
OpenSSL
:: ASN1 :: ObjectId (33) -
OpenSSL
:: ASN1 :: OctetString (22) -
OpenSSL
:: ASN1 :: PrintableString (22) -
OpenSSL
:: ASN1 :: Sequence (11) -
OpenSSL
:: ASN1 :: Set (11) -
OpenSSL
:: ASN1 :: T61String (22) -
OpenSSL
:: ASN1 :: UTCTime (22) -
OpenSSL
:: ASN1 :: UTF8String (22) -
OpenSSL
:: ASN1 :: UniversalString (22) -
OpenSSL
:: ASN1 :: VideotexString (22) -
OpenSSL
:: PKey :: EC (11) -
OpenSSL
:: X509 :: Attribute (11) -
OpenSSL
:: X509 :: Extension (22) - OptionParser (33)
- Prime (33)
-
Psych
:: Nodes :: Document (11) -
Psych
:: Nodes :: Scalar (11) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: Parser (11) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: TopLevel (33) -
REXML
:: Attribute (11) -
REXML
:: Document (22) -
REXML
:: Entity (11) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: XMLDecl (11) -
REXML
:: XPath (33) -
Rake
:: InvocationChain (22) -
Rake
:: PackageTask (11) -
Rake
:: TaskArguments (11) - Regexp (11)
- Resolv (44)
-
Resolv
:: DNS (11) -
Resolv
:: DNS :: Resource :: HINFO (11) -
Resolv
:: DNS :: Resource :: IN :: A (11) -
Resolv
:: DNS :: Resource :: IN :: AAAA (11) -
Resolv
:: DNS :: Resource :: IN :: SRV (11) -
Resolv
:: DNS :: Resource :: IN :: WKS (11) -
Resolv
:: DNS :: Resource :: MINFO (11) -
Resolv
:: DNS :: Resource :: SOA (11) -
Resolv
:: DNS :: Resource :: TXT (11) -
Resolv
:: Hosts (11) -
Resolv
:: IPv4 (22) -
Resolv
:: IPv6 (22) -
RubyVM
:: InstructionSequence (106) - SOCKSSocket (22)
- Shell (9)
-
Shell
:: ProcessController (30) -
Shell
:: Void (6) - Socket (66)
-
Socket
:: AncillaryData (33) -
Socket
:: Option (33) - String (11)
- StringScanner (11)
- Struct (2)
- TCPServer (22)
- TCPSocket (44)
- Thread (11)
-
Thread
:: ConditionVariable (11) - TracePoint (22)
- Tracer (22)
- UNIXServer (44)
- Vector (29)
-
WEBrick
:: BasicLog (11) -
WEBrick
:: Cookie (11) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPProxyServer (11) -
WEBrick
:: HTTPServer (11) -
WEBrick
:: HTTPServer :: MountTable (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (22) -
WEBrick
:: HTTPServlet :: CGIHandler (11) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (11) -
WEBrick
:: HTTPServlet :: ERBHandler (11) -
WEBrick
:: HTTPServlet :: FileHandler (33) -
WEBrick
:: HTTPServlet :: ProcHandler (11) -
WEBrick
:: HTTPVersion (22) - WIN32OLE (22)
-
WIN32OLE
_ EVENT (22) -
WIN32OLE
_ TYPELIB (11) -
WIN32OLE
_ VARIANT (22) -
Win32
:: Registry (77) -
Zlib
:: Deflate (22) -
Zlib
:: GzipWriter (55)
モジュール
- FileUtils (11)
- GC (5)
- Gem (22)
-
Gem
:: Security (11) - IRB (11)
-
IRB
:: HistorySavingAbility (11) - PTY (11)
- Psych (11)
-
REXML
:: Security (22) -
RSS
:: Maker (11) - RakeFileUtils (22)
- RbConfig (11)
- Readline (22)
-
RubyVM
:: AbstractSyntaxTree (18) -
RubyVM
:: MJIT (18) -
Test
:: Unit (1)
キーワード
- [] (22)
-
_ strptime (11) - activate (6)
-
active
_ process _ controllers (6) -
add
_ common _ option (11) -
add
_ filter (11) -
add
_ handler (11) -
all
_ classes _ and _ modules (11) - append (11)
- array (11)
-
asciicompat
_ encoding (22) - assoc (11)
- basis (11)
- blockdev? (11)
- bool (11)
-
build
_ args= (11) -
builtin
_ curves (11) - cd (6)
- chardev? (11)
- civil (22)
-
column
_ vector (11) - command (11)
- compile (11)
-
compile
_ file (11) -
compile
_ option (11) -
compile
_ option= (11) -
completion
_ proc= (11) - connect (11)
- convert (11)
- correct? (11)
- create (55)
- debug= (11)
-
debug
_ output _ exclusive _ unlock (3) -
def
_ inspector (11) -
default
_ argc _ limit (11) -
default
_ id _ conv (11) -
default
_ load _ limit (11) -
default
_ passive (9) -
default
_ passive= (9) -
default
_ value (11) - deflate (11)
- delete (22)
-
delete
_ if (22) - diagonal (11)
- dirname (3)
- disasm (11)
- disassemble (11)
-
do
_ not _ reverse _ lookup (11) -
do
_ not _ reverse _ lookup= (11) -
double
_ fig (11) - each (11)
-
each
_ active _ object (6) -
each
_ pair (22) -
enable
_ ssl (11) - enabled? (6)
-
ensure
_ ssl _ available (11) -
entity
_ expansion _ limit= (22) -
entity
_ expansion _ text _ limit= (22) - exclusive (11)
- extended (11)
- fetch (33)
- filter (45)
- filter! (12)
-
find
_ class _ named (11) - first (11)
- foreach (33)
-
from
_ prime _ division (11) - generate (11)
-
generate
_ line (11) -
get
_ instance (11) - getaddress (11)
- getaddresses (11)
- getaddrinfo (22)
- getname (11)
- getnames (11)
- getopts (11)
- getservbyname (11)
- getservbyport (11)
-
have
_ option? (11) - inactivate (6)
- include? (11)
- independent? (11)
- index (7)
- inspect (11)
- instance (22)
- int (22)
-
int
_ from _ prime _ division (11) - invert (11)
-
ipv6
_ pktinfo (11) -
is
_ version _ 1 _ 1? (11) -
is
_ version _ 1 _ 2? (11) -
keep
_ if (22) - key (11)
- keys (11)
- length (11)
-
libyaml
_ version (11) -
line
_ stub (6) -
load
_ from _ binary (9) -
load
_ from _ binary _ extra _ data (9) - make (11)
- match (11)
- mode (22)
-
must
_ C _ version (11) - new (1398)
- of (13)
- open (165)
-
overwrite
_ accessor (11) - parse (30)
-
parse
_ file (8) -
parse
_ line (11) -
parser
_ for (11) - pause (6)
- popen (132)
- prime? (11)
-
prime
_ division (11) - private (23)
-
process
_ controllers _ exclusive (6) - produce (5)
- rassoc (11)
- read (11)
- readlines (11)
- register (11)
- rehash (11)
- reject! (22)
-
remove
_ handler (11) - resume (6)
-
row
_ vector (11) - run (11)
- running? (7)
- scalar (11)
-
search
_ convpath (11) - select (12)
- select! (22)
-
setup
_ argv (1) - shift (11)
- size (11)
- slice (6)
-
ssl
_ available? (11) - start (39)
- store (11)
- table (11)
-
to
_ a (11) -
to
_ ptr (11) -
to
_ s (11) - trace (11)
-
trace
_ func (11) -
try
_ convert (58) -
unix
_ server _ loop (11) -
unix
_ server _ socket (22) -
valid
_ civil? (11) -
valid
_ commercial? (11) -
valid
_ date? (11) -
valid
_ jd? (11) -
valid
_ ordinal? (11) - values (11)
-
values
_ at (11) - ver (5)
-
verbose
_ flag (11) -
verbose
_ flag= (11) - verify (11)
-
verify
_ compaction _ references (5) -
verify
_ trust _ dir (11) - version (22)
-
version
_ 1 _ 1? (11) -
version
_ 1 _ 2 (11) -
version
_ 1 _ 2? (11) -
vi
_ editing _ mode (11) - vstack (11)
- wrap (22)
- zero (7)
検索結果
先頭5件
-
IRB
. version -> String (32201.0) -
IRB のバージョンを文字列で返します。
...
IRB のバージョンを文字列で返します。
~/.irbrc などの設定ファイル内で IRB.conf[:VERSION] を設定していた場合は
任意のバージョンを返すように設定できます。... -
Integer
. from _ prime _ division(pd) -> Integer (32201.0) -
素因数分解された結果を元の数値に戻します。
...アの第一要素は素因数を、
第二要素はその素因数の指数をあらわします。
@see Prime#int_from_prime_division
//emlist[例][ruby]{
require 'prime'
Prime.int_from_prime_division([[2,2], [3,1]]) #=> 12
Prime.int_from_prime_division([[2,2], [3,2]]) #=> 36
//}... -
IO
. try _ convert(obj) -> IO | nil (29201.0) -
obj を to_io メソッドによって IO オブジェクトに変換します。 変換できなかった場合は nil を返します。
...obj を to_io メソッドによって IO オブジェクトに変換します。
変換できなかった場合は nil を返します。
IO.try_convert(STDOUT) # => STDOUT
IO.try_convert("STDOUT") # => nil... -
Integer
. try _ convert(obj) -> Integer | nil (29201.0) -
obj を Integer に変換しようと試みます。変換には Object#to_int メソッドが使われます。
...obj を Integer に変換しようと試みます。変換には Object#to_int
メソッドが使われます。
Integer ならそのままobjを返します。
そうでなければ obj.to_int の結果を返すか、nil が返されます。
@param obj 変換する任意のオブジェクト......@return Integer または nil
@raise TypeError to_int が Integer を返さなかった場合に発生します。
//emlist[例][ruby]{
Integer.try_convert(1) # => 1
Integer.try_convert(1.25) # => 1
Integer.try_convert([]) # => nil
//}... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (26214.0) -
新しい実行結果の出力方式を定義します。
...@param key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初......quire が必要な場合
などに、proc { require "foo" } といった指定を行います。
ブロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_ins......pector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
IRB
:: HistorySavingAbility . extended(obj) -> object (26001.0) -
obj に irb のヒストリの読み込み、保存の機能を提供します。
...obj に irb のヒストリの読み込み、保存の機能を提供します。
obj を返します。
@param obj IRB::HistorySavingAbility を extend したオブジェクトです。... -
IO
. popen([env = {} , [cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (23201.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ョンや、パイプ IO オブジェクトの属性(エンコーディングや
読み書き能力)を指定することができます。
プロセス起動のためのオプションは Kernel.#spawn と、
パイプオブジェクトの属性の指定のオプションは IO.new と共通です... -
IO
. popen([env = {} , cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (23201.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ョンや、パイプ IO オブジェクトの属性(エンコーディングや
読み書き能力)を指定することができます。
プロセス起動のためのオプションは Kernel.#spawn と、
パイプオブジェクトの属性の指定のオプションは IO.new と共通です... -
IO
. popen(env = {} , [[cmdname , arg0] , *args , execopt={}] , mode = "r" , opt={}) -> IO (23201.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ョンや、パイプ IO オブジェクトの属性(エンコーディングや
読み書き能力)を指定することができます。
プロセス起動のためのオプションは Kernel.#spawn と、
パイプオブジェクトの属性の指定のオプションは IO.new と共通です... -
IO
. popen(env = {} , [cmdname , *args , execopt={}] , mode = "r" , opt={}) -> IO (23201.0) -
サブプロセスを実行し、そのプロセスの標準入出力 との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
...出力
との間にパイプラインを確立します。生成したパイプを IO オブジェクトとして返します。
p io = IO.popen("cat", "r+") # => #<IO:fd 4>
io.puts "foo"
io.close_write
p io.gets # => "foo\n"
サブプロセスを指定する方法は2......生成した IO オブジェクトを引数にブ
ロックを実行し、ブロックの実行結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
p IO.popen("cat", "r+") {|io|
io.puts "foo"
io.close_write
io.gets
}
#......ョンや、パイプ IO オブジェクトの属性(エンコーディングや
読み書き能力)を指定することができます。
プロセス起動のためのオプションは Kernel.#spawn と、
パイプオブジェクトの属性の指定のオプションは IO.new と共通です...