ライブラリ
- ビルトイン (214)
- benchmark (12)
-
cgi
/ html (96) - date (12)
- e2mmap (12)
- getoptlong (12)
-
irb
/ context (24) - json (120)
- logger (72)
- matrix (84)
- mkmf (36)
- monitor (96)
-
net
/ ftp (12) -
net
/ http (24) - open-uri (24)
- openssl (36)
- optparse (48)
- pathname (48)
- rake (12)
-
rdoc
/ context (60) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (24) -
rdoc
/ text (12) -
rdoc
/ top _ level (24) -
rexml
/ document (96) - rss (96)
-
rubygems
/ format (36) -
rubygems
/ installer (12) -
rubygems
/ old _ format (36) -
rubygems
/ platform (72) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (24) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (36) -
rubygems
/ user _ interaction (24) -
rubygems
/ version _ option (12) - scanf (162)
- shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) -
shell
/ process-controller (6) -
shell
/ system-command (6) - stringio (12)
- strscan (12)
-
syslog
/ logger (24) - un (24)
-
webrick
/ httputils (60) - zlib (12)
クラス
-
ARGF
. class (12) - Array (48)
-
Benchmark
:: Tms (12) - Date (12)
-
Gem
:: Format (36) -
Gem
:: Installer (12) -
Gem
:: OldFormat (36) -
Gem
:: Platform (72) -
Gem
:: RemoteFetcher (12) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (24) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (36) -
Gem
:: StreamUI (12) - GetoptLong (12)
- Hash (76)
- IO (24)
-
IRB
:: Context (24) - Logger (36)
-
Logger
:: Formatter (36) - Matrix (48)
-
Matrix
:: LUPDecomposition (12) -
MonitorMixin
:: ConditionVariable (60) -
Net
:: FTP (12) -
OpenSSL
:: PKey :: EC :: Group (24) - OptionParser (36)
- Pathname (48)
-
RDoc
:: Context (60) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (24) -
RDoc
:: TopLevel (24) -
REXML
:: Attribute (12) -
REXML
:: Entity (24) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (48) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (24) -
RSS
:: NotWellFormedError (24) -
RSS
:: Rss :: Channel :: Item :: Guid (12) -
Scanf
:: FormatSpecifier (66) -
Scanf
:: FormatString (60) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) -
Shell
:: ProcessController (6) -
Shell
:: SystemCommand (6) - String (54)
- StringIO (12)
- StringScanner (12)
-
Syslog
:: Logger (24) - Thread (12)
- Time (12)
- Vector (24)
-
WEBrick
:: HTTPUtils :: FormData (60) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: HtmlExtension (96) - DublinCoreModel (36)
- Exception2MessageMapper (12)
-
Gem
:: UserInteraction (12) -
Gem
:: VersionOption (12) -
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (24) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (84)
- MonitorMixin (36)
-
Net
:: HTTPHeader (24) -
OpenSSL
:: Buffering (12) -
OpenURI
:: OpenRead (24) -
OptionParser
:: Arguable (12) -
RDoc
:: Text (12)
キーワード
- == (12)
- === (12)
- =~ (12)
- [] (12)
-
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ module (12) -
add
_ platform _ option (12) -
add
_ tag (12) - broadcast (12)
- call (12)
- compact (12)
- compact= (12)
- conversion (6)
- convert (24)
-
count
_ space? (6) - cpu= (12)
-
datetime
_ format (24) -
datetime
_ format= (24) -
dc
_ format (12) -
dc
_ format= (12) -
dc
_ formats (12) -
def
_ exception (6) - delete (18)
- determinant (24)
-
each
_ classmodule (12) - element (12)
- fetch (12)
-
file
_ entries= (24) - filename (12)
- filename= (12)
-
find
_ matching (12) -
find
_ module _ named (24) - form (48)
-
form
_ data= (12) - format (12)
-
formatted
_ program _ filename (12) - formatter (12)
- formatter= (24)
-
gem
_ path= (24) - hermitian? (12)
- isPermaLink (24)
- isPermaLink= (12)
-
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) - letter (6)
- line (12)
- match (12)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) -
mon
_ exit (12) -
mon
_ synchronize (12) -
multipart
_ form (48) - name (12)
- name= (12)
- norm (12)
- normal? (12)
- normalize (12)
-
normalize
_ comment (12) -
normalize
_ uri (12) - normalized (12)
- normalized= (12)
- open (48)
-
original
_ platform= (12) - os= (12)
- permutation (24)
- permutation? (12)
- permute (24)
- permute! (24)
- platform= (12)
-
point
_ conversion _ form (12) -
point
_ conversion _ form= (12) - printf (60)
- prune (6)
-
re
_ string (6) -
repeated
_ permutation (24) - requirements= (12)
-
return
_ format (12) -
return
_ format= (12) -
rm
_ f (12) -
rm
_ rf (12) - rmdir (54)
- rmtree (12)
- scanf (36)
- search (24)
-
search
_ with _ source (12) -
set
_ form _ data (12) - signal (12)
- space (6)
- spec= (24)
-
spec
_ count (6) - strftime (24)
-
string
_ left (6) - synchronize (12)
- task (12)
- terminate (42)
-
terminate
_ interaction (24) -
terminate
_ job (6) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ re (6) -
to
_ s (12) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) -
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unnormalized (12)
- unpack1 (9)
- version= (12)
- wait (12)
-
wait
_ until (12) -
wait
_ while (12) - width (18)
- width= (12)
- write (12)
検索結果
先頭5件
-
Syslog
:: Logger # formatter -> Logger :: Formatter | Proc (6207.0) -
ログを出力する際に使用するフォーマッターを取得します。
...ログを出力する際に使用するフォーマッターを取得します。
デフォルトでは Logger::Formatter オブジェクトを返します。
@see Syslog::Logger#formatter=... -
Kernel
# rm _ f(*files) -> () (6142.0) -
FileUtils.#rm_f のラッパーメソッドです。
...FileUtils.#rm_f のラッパーメソッドです。
@param files ファイルのリストか、Dir.globで利用できる glob パターンを指定します。
最後の要素が Hash の場合は FileUtils.#rm_f の第二引数になります。
@see FileUtils.#rm_f, Dir.glob... -
Kernel
# rm _ rf(*files) -> () (6142.0) -
FileUtils.#rm_rf のラッパーメソッドです。
...FileUtils.#rm_rf のラッパーメソッドです。
@param files ファイルのリストか、Dir.globで利用できる glob パターンを指定します。
最後の要素が Hash の場合は FileUtils.#rm_f の第二引数になります。
@see FileUtils.#rm_rf, Dir.glob... -
Hash
# transform _ keys! -> Enumerator (6131.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...出した結果でハッシュのキーを変更します。
値は変化しません。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
@return transform_keys! は常に self を返します。
ブロックが与えられなかっ......//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys!(&:to_sym) # => {: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 (6131.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...出した結果でハッシュのキーを変更します。
値は変化しません。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
@return transform_keys! は常に self を返します。
ブロックが与えられなかっ......//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys!(&:to_sym) # => {: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 (6131.0) -
すべてのキーに対してブロックを呼び出した結果でハッシュのキーを変更します。 値は変化しません。
...出した結果でハッシュのキーを変更します。
値は変化しません。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
@return transform_keys! は常に self を返します。
ブロックが与えられなかっ......//emlist[例][ruby]{
h = { a: 1, b: 2, c: 3 }
h.transform_keys! {|k| k.to_s } # => {"a"=>1, "b"=>2, "c"=>3}
h.transform_keys!(&:to_sym) # => {: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!... -
Pathname
# rmtree -> nil (6129.0) -
FileUtils.rm_r(self.to_s) と同じです。
...FileUtils.rm_r(self.to_s) と同じです。
@see FileUtils.#rm_r... -
Hash
# transform _ keys -> Enumerator (6125.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
//emlist[例][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 (6125.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
//emlist[例][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 (6125.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_......keys!(&: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!... -
Hash
# transform _ keys! {|key| . . . } -> self (6125.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_......keys!(&: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!... -
Hash
# transform _ keys(hash) -> Hash (6125.0) -
すべてのキーに対してブロックを呼び出した結果で置き換えたハッシュを返します。 値は変化しません。
...。
@param hash 置き換え前のキーから置き換え後のキーへのハッシュを指定します。
//emlist[例][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 (6125.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_val......ues(&: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 (6125.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_val......ues(&: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 (6125.0) -
すべての値に対してブロックを呼び出した結果でハッシュの値を変更します。 キーは変化しません。
...
@return 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......_values!(&: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 (6125.0) -
すべての値に対してブロックを呼び出した結果でハッシュの値を変更します。 キーは変化しません。
...
@return 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......_values!(&: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!...