2005件ヒット
[1-100件を表示]
(0.084秒)
ライブラリ
- ビルトイン (664)
- benchmark (11)
- bigdecimal (11)
-
cgi
/ html (22) - coverage (22)
- date (22)
- delegate (11)
- e2mmap (12)
- erb (29)
- etc (11)
- fiddle (66)
- ipaddr (11)
- kconv (22)
- logger (8)
-
minitest
/ unit (3) -
net
/ ftp (11) -
net
/ http (11) -
net
/ imap (132) -
net
/ smtp (11) - objspace (33)
- openssl (264)
- optparse (66)
- pathname (44)
- prime (44)
- pstore (11)
- rake (55)
-
rdoc
/ context (22) -
rdoc
/ top _ level (11) - resolv (11)
-
rubygems
/ builder (11) -
rubygems
/ command (11) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ installer (11) -
rubygems
/ package / tar _ header (11) -
rubygems
/ specification (33) - set (55)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (6) - socket (22)
- tmpdir (22)
-
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpstatus (11) -
webrick
/ utils (11) -
win32
/ registry (55)
クラス
- Array (16)
- BigDecimal (11)
- Class (47)
- Coverage (22)
- Data (2)
- Date (22)
- Dir (22)
- ERB (29)
- Encoding (5)
- Fiber (11)
-
Fiddle
:: Closure (44) -
Fiddle
:: Closure :: BlockCaller (22) - File (11)
-
File
:: Stat (11) - Fixnum (3)
-
Gem
:: Builder (11) -
Gem
:: Command (11) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarHeader (11) -
Gem
:: Specification (33) - IPAddr (11)
- Integer (11)
- Logger (8)
- Method (10)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (2) -
Net
:: FTP (11) -
Net
:: IMAP (33) -
Net
:: IMAP :: BodyTypeBasic (22) -
Net
:: IMAP :: BodyTypeMessage (22) -
Net
:: IMAP :: BodyTypeMultipart (22) -
Net
:: IMAP :: BodyTypeText (22) -
Net
:: IMAP :: Envelope (11) -
Net
:: SMTP (11) -
OpenSSL
:: BN (11) -
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: CertificateId (22) -
OpenSSL
:: PKCS7 :: RecipientInfo (11) -
OpenSSL
:: PKCS7 :: SignerInfo (22) -
OpenSSL
:: SSL :: SSLSocket (11) -
OpenSSL
:: X509 :: CRL (11) -
OpenSSL
:: X509 :: Certificate (22) -
OpenSSL
:: X509 :: ExtensionFactory (44) -
OpenSSL
:: X509 :: Request (11) - OptionParser (66)
- PStore (11)
- Pathname (44)
-
Prime
:: EratosthenesGenerator (11) -
Prime
:: Generator23 (11) -
Prime
:: PseudoPrimeGenerator (11) -
Prime
:: TrialDivisionGenerator (11) -
Process
:: Status (11) -
RDoc
:: Context (22) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (44) -
Resolv
:: DNS :: Name (11) - Set (55)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (6) - Socket (11)
- StopIteration (11)
- String (267)
- Struct (11)
- Symbol (38)
- SystemExit (11)
- Time (29)
- UnboundMethod (10)
-
WEBrick
:: HTTPServlet :: FileHandler (11) -
Win32
:: Registry (55)
モジュール
- Benchmark (11)
-
CGI
:: HtmlExtension (22) - Enumerable (44)
- Etc (11)
- Exception2MessageMapper (12)
- FileUtils (11)
- GC (22)
-
GC
:: Profiler (11) - Kconv (11)
- Kernel (66)
-
Net
:: HTTPHeader (11) - ObjectSpace (44)
-
OpenSSL
:: OCSP (22) -
OpenSSL
:: SSL (11) -
OpenSSL
:: X509 (55) -
Process
:: Sys (11) -
RubyVM
:: MJIT (6) -
Socket
:: Constants (11) -
WEBrick
:: HTTPStatus (11) -
WEBrick
:: Utils (11)
キーワード
-
CESU
_ 8 (5) - DOSISH 対応 (11)
- DelegateClass (11)
-
EMPTY
_ MARSHAL _ CHECKSUM (11) -
IPV6
_ CHECKSUM (22) -
OP
_ NO _ SESSION _ RESUMPTION _ ON _ RENEGOTIATION (11) -
RESPONSE
_ STATUS _ SUCCESSFUL (11) -
REVOKED
_ STATUS _ SUPERSEDED (11) -
SUPPORTS
_ INFO _ SIGNAL (1) -
V
_ ERR _ AKID _ ISSUER _ SERIAL _ MISMATCH (11) -
V
_ ERR _ SUBJECT _ ISSUER _ MISMATCH (11) -
V
_ ERR _ UNABLE _ TO _ DECODE _ ISSUER _ PUBLIC _ KEY (11) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (11) -
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT _ LOCALLY (11) - [] (22)
- []= (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ status (11) - args (11)
- basename (40)
- build (33)
- call (11)
- checksum (11)
-
cmp
_ issuer (11) -
count
_ nodes (11) -
count
_ objects (11) -
count
_ objects _ size (11) -
count
_ tdata _ objects (11) - ctype (11)
-
def
_ class (11) -
def
_ exception (12) -
default
_ submission _ port (11) - define (2)
-
delete
_ suffix (7) -
delete
_ suffix! (7) -
e
_ option _ supplied (11) -
each
_ key (11) -
end
_ with? (5) -
ensure
_ dependency (11) - getlogin (11)
- gsub (88)
- gsub! (55)
-
has
_ test _ suite? (11) - include? (11)
- inherited (11)
- inject (11)
- issuer (44)
-
issuer
_ certificate (11) - isutf8 (22)
-
latest
_ gc _ info (11) - lsub (11)
- measure (11)
-
media
_ subtype (44) - mktmpdir (22)
-
mod
_ sub (11) - name (11)
- new (107)
- open (22)
-
peek
_ result (11) -
proper
_ subset? (11) -
proper
_ superset? (11) - reduce (11)
-
remove
_ handler (11) - result (44)
-
result
_ with _ hash (7) - resume (28)
-
run
_ test _ suites (1) - setresuid (11)
- setuid? (11)
- sh (11)
- slice (22)
- slice! (11)
- stat (11)
- sub (99)
- sub! (44)
-
sub
_ ext (11) -
sub
_ type (11) - subclasses (3)
-
subdomain
_ of? (11) - subject (33)
-
subject
_ certificate (11) -
subject
_ request (11) - submit (22)
- subscribe (11)
- subsec (11)
- subset? (11)
- subtract (11)
- subtype (44)
- succ (109)
- succ! (11)
- success (11)
- success? (33)
- sum (49)
- summarize (22)
- summary (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) - sunday? (22)
-
super
_ each (6) -
super
_ method (20) - superclass (11)
- superset? (11)
-
test
_ suite _ file (11) -
test
_ suites (1) -
to
_ i (11) - unsubscribe (11)
-
verify
_ result (11) - メソッド呼び出し(super・ブロック付き・yield) (11)
検索結果
先頭5件
- WEBrick
:: Utils . # su(user) -> () - OpenSSL
:: X509 :: V _ ERR _ SUBJECT _ ISSUER _ MISMATCH -> Integer - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () - String
# delete _ suffix!(suffix) -> self | nil
-
WEBrick
:: Utils . # su(user) -> () (18201.0) -
指定されたユーザに Process::Sys.#setuid, Process::Sys.#setgid します。
指定されたユーザに Process::Sys.#setuid,
Process::Sys.#setgid します。
setuid できないプラットフォームでは警告を表示し、何もしません。
@param user ユーザを指定します。 -
OpenSSL
:: X509 :: V _ ERR _ SUBJECT _ ISSUER _ MISMATCH -> Integer (12300.0) -
証明書の issuer(発行者)名と上位の証明書のsubject(所有者)名が 異なっていることを意味します。
...証明書の issuer(発行者)名と上位の証明書のsubject(所有者)名が
異なっていることを意味します。... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (6438.0) -
サマリを指定された to へと加えていきます。
...d("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n......", " --help\n"]
//}... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (6438.0) -
サマリを指定された to へと加えていきます。
...d("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", " --init\n", " -u\n", " --update\n", " -h\n......", " --help\n"]
//}... -
String
# delete _ suffix!(suffix) -> self | nil (6300.0) -
self の末尾から破壊的に suffix を削除します。
...末尾から破壊的に suffix を削除します。
@param suffix 末尾から削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => nil
//}......@see String#chomp!
@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?... -
String
# delete _ suffix(suffix) -> String (6300.0) -
文字列の末尾から suffix を削除した文字列のコピーを返します。
...から suffix を削除した文字列のコピーを返します。
@param suffix 末尾から削除する文字列を指定します。
@return 文字列の末尾から suffix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello".delete_suffix("he......l") # => "hello"
//}
@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?... -
String
# gsub(pattern , replace) -> String (6266.0) -
文字列中で pattern にマッチする部分全てを 文字列 replace で置き換えた文字列を生成して返します。
...と置き換える文字列
//emlist[例][ruby]{
p 'abcdefg'.gsub(/def/, '!!') # => "abc!!g"
p 'abcabc'.gsub(/b/, '<<\&>>') # => "a<<b>>ca<<b>>c"
p 'xxbbxbb'.gsub(/x+(b+)/, 'X<<\1>>') # => "X<<bb>>X<<bb>>"
p '2.5'.gsub('.', ',') # => "2,5"
//}
注意:
第 2 引数 replace に $1......列が評価される時点ではまだ正規表現マッチが行われておらず、
$1 がセットされていないからです。
また、gsub では「\」が部分文字列との置き換えという特別な意味を持つため、
replace に「\」自身を入れたいときは
「\」......{
p 'xbbb-xbbb'.gsub(/x(b+)/, "#{$1}") # => "-" # NG
p 'xbbb-xbbb'.gsub(/x(b+)/, "\1") # => "1-1" # NG
p 'xbbb-xbbb'.gsub(/x(b+)/, "\\1") # => "bbb-bbb" # OK
p 'xbbb-xbbb'.gsub(/x(b+)/, '\1') # => "bbb-bbb" # OK
p 'xbbb-xbbb'.gsub(/x(b+)/, '\\1') # => "bbb-bbb" # O... -
String
# sub(pattern , replace) -> String (6266.0) -
文字列中で pattern にマッチした最初の部分を 文字列 replace で置き換えた文字列を生成して返します。
...pattern で指定した文字列と置き換える文字列
//emlist[例][ruby]{
p 'abcdefg'.sub(/def/, '!!') # => "abc!!g"
p 'abcabc'.sub(/b/, '<<\&>>') # => "a<<b>>cabc"
p 'xxbbxbb'.sub(/x+(b+)/, 'X<<\1>>') # => "X<<bb>>xbb"
//}
注意:
第 2 引数 replace に $1 を埋め......列が評価される時点ではまだ正規表現マッチが行われておらず、
$1 がセットされていないからです。
また、sub では「\」が部分文字列との置き換えという特別な意味を持つため、
replace に「\」自身を入れたいときは
「\」......]{
p 'xbbb-xbbb'.sub(/x(b+)/, "#{$1}") # => "-xbbb" # NG
p 'xbbb-xbbb'.sub(/x(b+)/, "\1") # => "1-xbbb" # NG
p 'xbbb-xbbb'.sub(/x(b+)/, "\\1") # => "bbb-xbbb" # OK
p 'xbbb-xbbb'.sub(/x(b+)/, '\1') # => "bbb-xbbb" # OK
p 'xbbb-xbbb'.sub(/x(b+)/, '\\1') # => "bbb-xbbb" #... -
OptionParser
# summary _ indent -> String (6236.0) -
サマリを表示する時のインデントを文字列で返します。
...("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_indent # => " "
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_indent = " "
opts.summary_indent # => " "
opts.summarize
# => [" -i, --i......nit\n", " -u, --update\n", " -h, --help\n"]
//}... -
OptionParser
# summary _ width -> Integer (6236.0) -
サマリを表示するときの幅を整数で返します。
...head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summary_width # => 32
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summary_width = 8
opts.summary_width # =>8
opts.summarize
# => [" -i\n", " --init\......n", " -u\n", " --update\n", " -h\n", " --help\n"]
//}...