ライブラリ
- ビルトイン (203)
- benchmark (11)
-
cgi
/ html (88) - date (11)
- e2mmap (12)
- getoptlong (22)
-
irb
/ context (22) - json (121)
- logger (55)
- matrix (88)
- mkmf (33)
- monitor (151)
-
net
/ ftp (20) -
net
/ http (44) - open-uri (22)
- openssl (33)
- optparse (44)
- pathname (44)
- psych (11)
- rake (11)
-
rdoc
/ context (88) -
rdoc
/ markup (11) -
rdoc
/ markup / formatter (22) -
rdoc
/ text (11) -
rdoc
/ top _ level (33) - resolv (11)
-
rexml
/ document (55) - rss (88)
-
rubygems
/ format (44) -
rubygems
/ installer (11) -
rubygems
/ old _ format (44) -
rubygems
/ platform (55) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (22) -
rubygems
/ spec _ fetcher (22) -
rubygems
/ specification (66) -
rubygems
/ user _ interaction (22) -
rubygems
/ version _ option (11) - scanf (162)
- shell (12)
-
shell
/ command-processor (18) -
shell
/ filter (12) -
shell
/ process-controller (6) -
shell
/ system-command (6) - stringio (11)
- strscan (11)
-
syslog
/ logger (11) - un (22)
- uri (22)
-
webrick
/ httputils (77) -
webrick
/ log (11) - zlib (11)
クラス
-
ARGF
. class (11) - Array (44)
-
Benchmark
:: Tms (11) - Date (11)
-
Gem
:: Format (44) -
Gem
:: Installer (11) -
Gem
:: OldFormat (44) -
Gem
:: Platform (55) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (22) -
Gem
:: SpecFetcher (22) -
Gem
:: Specification (66) -
Gem
:: StreamUI (11) - GetoptLong (22)
- Hash (66)
- IO (23)
-
IRB
:: Context (22) - Logger (33)
-
Logger
:: Formatter (22) - Matrix (55)
-
Matrix
:: LUPDecomposition (11) - Monitor (5)
-
MonitorMixin
:: ConditionVariable (55) -
Net
:: FTP (11) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTPGenericRequest (22) -
OpenSSL
:: PKey :: EC :: Group (22) - OptionParser (33)
- Pathname (44)
-
Process
:: Status (11) -
Psych
:: Nodes :: Node (11) -
RDoc
:: Context (88) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (22) -
RDoc
:: Options (33) -
RDoc
:: TopLevel (33) -
REXML
:: Attribute (11) -
REXML
:: Entity (22) -
REXML
:: Formatters :: Default (11) -
REXML
:: Formatters :: Pretty (11) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (22) -
RSS
:: NotWellFormedError (22) -
RSS
:: Rss :: Channel :: Item :: Guid (11) -
Resolv
:: DNS :: Resource :: MINFO (11) -
Scanf
:: FormatSpecifier (66) -
Scanf
:: FormatString (60) - Shell (12)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (12) -
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - String (50)
- StringIO (11)
- StringScanner (11)
-
Syslog
:: Logger :: Formatter (11) - Thread (11)
- Time (11)
-
URI
:: Generic (22) - Vector (22)
-
WEBrick
:: HTTPUtils :: FormData (77) -
WEBrick
:: Log (11) -
Zlib
:: GzipWriter (11)
モジュール
-
CGI
:: HtmlExtension (88) - DublinCoreModel (33)
- Exception2MessageMapper (12)
-
Gem
:: UserInteraction (11) -
Gem
:: VersionOption (11) -
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (33) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (78)
- MonitorMixin (91)
-
Net
:: HTTPHeader (22) -
OpenSSL
:: Buffering (11) -
OpenURI
:: OpenRead (22) -
OptionParser
:: Arguable (11) -
RDoc
:: Text (11)
キーワード
- [] (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ module (11) -
add
_ platform _ option (11) -
add
_ tag (11) -
append
_ data (11) - broadcast (11)
- call (22)
- classes (11)
- conversion (6)
- convert (22)
-
count
_ space? (6) - cpu (11)
-
datetime
_ format (22) -
dc
_ format (11) -
dc
_ format= (11) -
dc
_ formats (11) -
def
_ exception (6) - delete (18)
- determinant (22)
-
determinant
_ e (11) -
each
_ classmodule (11) - element (11)
- fetch (11)
-
file
_ entries (22) -
file
_ entries= (22) - filename (11)
- filename= (11)
-
find
_ enclosing _ module _ named (11) -
find
_ local _ symbol (11) -
find
_ matching (11) -
find
_ module _ named (22) - form (44)
-
form
_ data= (11) - format (11)
-
formatted
_ program _ filename (11) - formatter (22)
- formatter= (22)
-
gem
_ path (22) - hermitian? (11)
-
image
_ format (11) - isPermaLink (22)
- isPermaLink= (11)
-
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) - letter (6)
- line (11)
- match (12)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) - modules (11)
-
mon
_ enter (11) -
mon
_ exit (11) -
mon
_ locked? (7) -
mon
_ owned? (7) -
mon
_ synchronize (11) -
mon
_ try _ enter (11) -
multipart
_ form (44) - name (11)
- name= (11)
-
new
_ cond (16) - norm (11)
- normal? (11)
- normalize (33)
- normalize! (11)
-
normalize
_ comment (11) -
normalize
_ uri (11) - normalized (11)
- normalized= (11)
- open (44)
-
original
_ platform (11) -
original
_ platform= (11) - os (11)
- perm (9)
- permutation (22)
- permutation? (11)
- permute (22)
- permute! (22)
- platform (11)
- platform= (11)
-
point
_ conversion _ form (11) -
point
_ conversion _ form= (11) - printf (55)
- prune (6)
-
re
_ string (6) -
repeated
_ permutation (22) -
request
_ body _ permitted? (11) - requirements= (11)
-
response
_ body _ permitted? (11) -
return
_ format (11) -
return
_ format= (11) -
rm
_ f (11) -
rm
_ rf (11) - rmailbx (11)
- rmdir (39)
- rmtree (11)
- scanf (36)
- search (22)
-
search
_ with _ source (11) -
set
_ form _ data (11) - signal (11)
- space (6)
- spec (22)
-
spec
_ count (6) - strftime (22)
-
string
_ left (6) - synchronize (11)
- task (11)
- terminate (39)
-
terminate
_ interaction (22) -
terminate
_ job (6) - terminated? (11)
- termsig (11)
-
time
_ format (11) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ re (6) -
to
_ s (34) - transform (11)
-
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) -
try
_ mon _ enter (11) -
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) - unnormalized (11)
- unpack1 (8)
- version (11)
- version= (11)
- wait (11)
-
wait
_ until (11) -
wait
_ while (11) - width (17)
- write (11)
検索結果
先頭5件
-
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (12201.0) -
option parser に対して --platform オプションを追加します。
...option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定し... -
GetoptLong
# terminate -> self (12201.0) -
オプションの処理を、強制的に終了させます。ただし、エラーが起き ている状態でこのメソッドを起動しても、終了させることはできません。
...ソッドを起動しても、終了させることはできません。
すでにオプションの処理が終了しているときは、このメソッドは何も行いません。
@raise RuntimeError エラーが起きている状態でこのメソッドを起動すると、発生します... -
GetoptLong
# terminated? -> true | false (12201.0) -
エラーが起きずにオプションの処理が終了しているときは真が 返ります。それ以外のときは、偽が返ります。
エラーが起きずにオプションの処理が終了しているときは真が
返ります。それ以外のときは、偽が返ります。 -
Hash
# transform _ keys -> Enumerator (12201.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...h.transform_keys {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys(&:to_s) # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys!
@see Hash#transform_valu......es
@see Hash#transform_values!......list[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys(&:to_s) # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys.with_index {|k, i| "#{k}.#{i}" }......# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys!
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ keys {|key| . . . } -> Hash (12201.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...h.transform_keys {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys(&:to_s) # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys!
@see Hash#transform_valu......es
@see Hash#transform_values!......list[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys(&:to_s) # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys.with_index {|k, i| "#{k}.#{i}" }......# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys!
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ keys! -> Enumerator (12201.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...return transform_keys! は常に self を返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_key......s!(&:to_sym) # => {:a=>1, :b=>2, :c=>3}
h.transform_keys!.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys
@see Hash#transform_values
@see Hash#transform_values!......# => {:a=>1, :b=>2, :c=>3}
h.transform_keys!(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys!.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ keys! {|key| . . . } -> self (12201.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...return transform_keys! は常に self を返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_key......s!(&:to_sym) # => {:a=>1, :b=>2, :c=>3}
h.transform_keys!.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys
@see Hash#transform_values
@see Hash#transform_values!......# => {:a=>1, :b=>2, :c=>3}
h.transform_keys!(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys!.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ keys!(hash) -> self (12201.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...return transform_keys! は常に self を返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_key......# => {:a=>1, :b=>2, :c=>3}
h.transform_keys!(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys!.with_index {|k, i| "#{k}.#{i}" }
# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ keys(hash) -> Hash (12201.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...list[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys(a: "a", d: "d") # => {"a"=>1, :b=>2, :c=>3}
h.transform_keys(&:to_s) # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys.with_index {|k, i| "#{k}.#{i}" }......# => {"a.0"=>1, "b.1"=>2, "c.2"=>3}
//}
@see Hash#transform_keys!
@see Hash#transform_values
@see Hash#transform_values!... -
Hash
# transform _ values -> Enumerator (12201.0) -
すべての値に対してブロックを呼び出した結果で置き換えたハッシュを返します。 キーは変化しません。
...@return 置き換えたハッシュを返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_values {|v| v * v + 1 } #=> { a: 2, b: 5, c: 10 }
h.transform_values......(&:to_s) #=> { a: "1", b: "2", c: "3" }
h.transform_values.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "1.0", b: "2.1", c: "3.2" }
//}
@see Hash#transform_values!......(&:to_s) #=> { a: "1", b: "2", c: "3" }
h.transform_values.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "1.0", b: "2.1", c: "3.2" }
//}
@see Hash#transform_values!
@see Hash#transform_keys
@see Hash#transform_keys!... -
Hash
# transform _ values {|value| . . . } -> Hash (12201.0) -
すべての値に対してブロックを呼び出した結果で置き換えたハッシュを返します。 キーは変化しません。
...@return 置き換えたハッシュを返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_values {|v| v * v + 1 } #=> { a: 2, b: 5, c: 10 }
h.transform_values......(&:to_s) #=> { a: "1", b: "2", c: "3" }
h.transform_values.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "1.0", b: "2.1", c: "3.2" }
//}
@see Hash#transform_values!......(&:to_s) #=> { a: "1", b: "2", c: "3" }
h.transform_values.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "1.0", b: "2.1", c: "3.2" }
//}
@see Hash#transform_values!
@see Hash#transform_keys
@see Hash#transform_keys!... -
Hash
# transform _ values! -> Enumerator (12201.0) -
すべての値に対してブロックを呼び出した結果でハッシュの値を変更します。 キーは変化しません。
...eturn transform_values! は常に self を返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_values! {|v| v * v + 1 } #=> { a: 2, b: 5, c: 10 }
h.transform_val......ues!(&:to_s) #=> { a: "2", b: "5", c: "10" }
h.transform_values!.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "2.0", b: "5.1", c: "10.2" }
//}
@see Hash#transform_values......ues!(&:to_s) #=> { a: "2", b: "5", c: "10" }
h.transform_values!.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "2.0", b: "5.1", c: "10.2" }
//}
@see Hash#transform_values
@see Hash#transform_keys
@see Hash#transform_keys!... -
Hash
# transform _ values! {|value| . . . } -> self (12201.0) -
すべての値に対してブロックを呼び出した結果でハッシュの値を変更します。 キーは変化しません。
...eturn transform_values! は常に self を返します。
ブロックが与えられなかった場合は、Enumerator オブジェクトを
返します。
//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_values! {|v| v * v + 1 } #=> { a: 2, b: 5, c: 10 }
h.transform_val......ues!(&:to_s) #=> { a: "2", b: "5", c: "10" }
h.transform_values!.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "2.0", b: "5.1", c: "10.2" }
//}
@see Hash#transform_values......ues!(&:to_s) #=> { a: "2", b: "5", c: "10" }
h.transform_values!.with_index {|v, i| "#{v}.#{i}" }
#=> { a: "2.0", b: "5.1", c: "10.2" }
//}
@see Hash#transform_values
@see Hash#transform_keys
@see Hash#transform_keys!... -
IRB
:: Context # return _ format -> String (12201.0) -
irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
...irb のプロンプトでの評価結果を表示する際のフォーマットを文字列で返します。
@see IRB::Context#return_format=, print_format...