ライブラリ
- ビルトイン (188)
-
cgi
/ core (408) -
cgi
/ html (564) -
drb
/ extservm (24) -
irb
/ cmd / help (12) -
irb
/ context (240) -
irb
/ ext / save-history (12) -
irb
/ extend-command (24) - json (60)
- mkmf (12)
-
net
/ imap (120) - openssl (312)
- pathname (12)
- psych (12)
- rake (48)
-
rdoc
/ context (72) -
rdoc
/ text (84) -
rexml
/ document (120) -
rubygems
/ commands / which _ command (12) -
rubygems
/ ext / builder (24) -
rubygems
/ gem _ path _ searcher (12) -
rubygems
/ installer (12) -
rubygems
/ specification (24) - stringio (48)
- uri (84)
- zlib (24)
クラス
-
ARGF
. class (36) - CGI (24)
-
DRb
:: ExtServManager (24) - File (24)
-
Gem
:: Commands :: WhichCommand (12) -
Gem
:: Ext :: Builder (24) -
Gem
:: GemPathSearcher (12) -
Gem
:: Installer (12) -
Gem
:: Specification (24) - IO (36)
-
IRB
:: Context (240) -
IRB
:: ExtendCommand :: Help (12) - Module (12)
-
Net
:: IMAP :: BodyTypeText (108) -
Net
:: IMAP :: ResponseText (12) -
OpenSSL
:: Netscape :: SPKI (12) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: RSA (12) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Extension (60) -
OpenSSL
:: X509 :: ExtensionFactory (36) -
OpenSSL
:: X509 :: Request (12) -
OpenSSL
:: X509 :: StoreContext (36) - Pathname (12)
-
Psych
:: SyntaxError (12) -
RDoc
:: Context (24) -
RDoc
:: Context :: Section (48) -
RDoc
:: Options (12) -
REXML
:: DocType (12) -
REXML
:: Document (12) -
REXML
:: Element (24) -
REXML
:: Entity (12) -
REXML
:: ExternalEntity (12) -
REXML
:: Text (48) -
Rake
:: FileList (12) -
RubyVM
:: InstructionSequence (20) - String (72)
- StringIO (48)
- Symbol (24)
-
URI
:: LDAP (12) -
URI
:: MailTo (24) -
Zlib
:: ZStream (24)
モジュール
-
CGI
:: HtmlExtension (564) -
CGI
:: QueryExtension (384) -
IRB
:: ExtendCommandBundle (24) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) - Kernel (12)
-
RDoc
:: Text (84) - URI (48)
キーワード
- Context (12)
- EXT (12)
- Extend (24)
-
IDNAME
_ IVARS (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) -
NOPRINTING
_ IVARS (12) -
NO
_ INSPECTING _ IVARS (12) - OCSP (12)
- [] (12)
-
_ _ inspect _ _ (12) -
_ _ to _ s _ _ (12) - a (24)
- accept (12)
-
accept
_ charset (12) -
accept
_ encoding (12) -
accept
_ language (12) -
ap
_ name (12) -
ap
_ name= (12) -
app
_ script _ text (12) -
auth
_ type (12) - base (12)
- blockquote (24)
-
ca
_ file (12) -
ca
_ path (12) -
cache
_ control (12) - caption (24)
- checkbox (24)
-
checkbox
_ group (24) - ciphers (12)
-
class
_ name (12) - command (12)
- comment (12)
-
content
_ id (12) -
content
_ type (12) - context (12)
-
create
_ body (12) -
create
_ ext _ from _ string (12) -
create
_ extension (24) -
create
_ header (12) -
def
_ extend _ command (12) - description (12)
- dirname (12)
- encoding (12)
- error= (12)
-
error
_ string (12) - execute (12)
- extensions (24)
- external (12)
-
external
_ encoding (12) -
external
_ id (12) - extname (24)
-
extra
_ accessor _ flags (12) -
extra
_ rdoc _ files (12) - extract (48)
-
file
_ field (24) -
flush
_ left (12) -
flush
_ next _ in (12) -
flush
_ next _ out (12) - form (48)
- from (12)
-
gateway
_ interface (12) - header (12)
- hidden (24)
-
history
_ file (12) - host (12)
- html (24)
- img (24)
- inspect (24)
-
irb
_ name (12) -
irb
_ name= (12) -
irb
_ original _ method _ name (12) -
irb
_ path (12) -
json
_ create (12) - keys (12)
- language (12)
-
lib
_ dirs _ for (12) -
load
_ from _ binary _ extra _ data (10) -
load
_ modules (12) - markup (12)
- md5 (12)
-
media
_ subtype (12) -
media
_ type (12) -
multipart
_ form (48) - name (12)
- negotiate (12)
- new (36)
- next (24)
- next! (12)
- normalize (12)
-
normalize
_ comment (12) - oid (12)
- out (12)
- param (12)
- params (12)
-
password
_ field (24) -
path
_ info (12) -
path
_ translated (12) - pathmap (12)
- pragma (12)
-
prompt
_ c (12) -
prompt
_ i (12) -
prompt
_ n (12) -
prompt
_ s (12) -
query
_ string (12) -
radio
_ group (24) -
rake
_ extension (12) - redirector (12)
- referer (12)
-
remote
_ addr (12) -
remote
_ host (12) -
remote
_ ident (12) -
remote
_ user (12) -
request
_ method (12) - reset (24)
-
return
_ format (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
script
_ name (12) -
scrolling
_ list (24) - sequence (12)
-
server
_ name (12) -
server
_ protocol (12) -
server
_ software (12) -
session
_ id _ context (12) -
set
_ encoding (108) -
strip
_ hashes (12) -
strip
_ newlines (12) -
strip
_ stars (12) - submit (24)
- subtype (12)
- succ (24)
- succ! (12)
- text (24)
-
text
_ field (24) - textarea (24)
- title (12)
-
to
_ a (12) -
to
_ binary (10) -
to
_ der (12) -
to
_ json (12) -
to
_ mailtext (12) -
to
_ rfc822text (12) -
to
_ s (48) -
to
_ text (120) -
unmatched
_ alias _ lists (12) - unnormalize (12)
- uri (12)
-
user
_ agent (12) - value (24)
- verify (12)
検索結果
先頭5件
-
String
# ext(newext = & # 39;& # 39;) -> String (39320.0) -
自身の拡張子を与えられた拡張子で置き換えます。
...た拡張子が空文字列の場合は、自身の拡張子を削除します。
@param newext 新しい拡張子を指定します。
例:
require "rake"
"hoge".ext(".rb") # => "hoge.rb"
"hoge.rb".ext(".erb") # => "hoge.erb"
"hoge.tar.gz".ext(".bz2") # => "hoge.tar.bz2"... -
String
# next! -> String (27208.0) -
self を「次の」文字列に置き換えます。 「次の」文字列は、アルファベットなら 16 進数、 数字なら 10 進数とみなして計算されます。 「次の」文字列の計算では "99" → "100" のように繰り上げも行われます。 このとき負符号などは考慮されません。
...# => "-10"
p "9".succ # => "10"
p "09".succ # => "10"
# アルファベット・数字とそれ以外の混在
p "1.9.9".succ # => # "2.0.0"
# アルファベット・数字以外のみ
p ".".succ # => "/"
p "\0".succ # => "\001"
p "\377".succ # => "\001\000"
//}
@see String#succ... -
String
# next -> String (27202.0) -
self の「次の」文字列を返します。
self の「次の」文字列を返します。
「次の」文字列は、対象の文字列の右端から
アルファベットなら アルファベット順(aの次はb, zの次はa, 大文字も同様)に、
数字なら 10 進数(9 の次は 0)とみなして計算されます。
//emlist[][ruby]{
p "aa".succ # => "ab"
p "88".succ.succ # => "90"
//}
"99" → "100", "AZZ" → "BAA" のような繰り上げも行われます。
このとき負符号などは考慮されません。
//emlist[][ruby]{
p "99".succ # =>... -
String
# succ! -> String (24108.0) -
self を「次の」文字列に置き換えます。 「次の」文字列は、アルファベットなら 16 進数、 数字なら 10 進数とみなして計算されます。 「次の」文字列の計算では "99" → "100" のように繰り上げも行われます。 このとき負符号などは考慮されません。
...# => "-10"
p "9".succ # => "10"
p "09".succ # => "10"
# アルファベット・数字とそれ以外の混在
p "1.9.9".succ # => # "2.0.0"
# アルファベット・数字以外のみ
p ".".succ # => "/"
p "\0".succ # => "\001"
p "\377".succ # => "\001\000"
//}
@see String#succ... -
String
# succ -> String (24102.0) -
self の「次の」文字列を返します。
self の「次の」文字列を返します。
「次の」文字列は、対象の文字列の右端から
アルファベットなら アルファベット順(aの次はb, zの次はa, 大文字も同様)に、
数字なら 10 進数(9 の次は 0)とみなして計算されます。
//emlist[][ruby]{
p "aa".succ # => "ab"
p "88".succ.succ # => "90"
//}
"99" → "100", "AZZ" → "BAA" のような繰り上げも行われます。
このとき負符号などは考慮されません。
//emlist[][ruby]{
p "99".succ # =>... -
String
# pathmap(spec = nil) { . . . } -> String (21113.0) -
与えられた書式指定文字列に応じてパス(自身)を変換します。
...athmap("%{^src,bin}X.class")
#=> "bin/org/onestepback/proj/A.class"
置換文字列に '*' を指定した場合は、置換文字列を計算するためにブロックを評価します。
例:
"/path/to/file.TXT".pathmap("%X%{.*,*}x") { |ext| ext.downcase }
#=> "/path/to/file.txt"... -
JSON
:: Ext :: Generator :: GeneratorMethods :: String (21016.0) -
Alias of JSON::Generator::GeneratorMethods::String
...Alias of JSON::Generator::GeneratorMethods::String... -
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (18251.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...各要素に String#ext を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb"......, "test3.rb")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}
@see String#ext... -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (15308.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
...から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext...