別のキーワード
ライブラリ
- ビルトイン (117)
-
cgi
/ html (72) - date (12)
- e2mmap (12)
- getoptlong (24)
- logger (12)
- matrix (36)
-
net
/ ftp (22) -
net
/ http (48) - open-uri (24)
- openssl (36)
- optparse (48)
- pathname (48)
- psych (12)
-
rdoc
/ context (36) -
rdoc
/ markup (12) -
rdoc
/ markup / formatter (24) -
rdoc
/ top _ level (36) -
rexml
/ document (60) - rss (36)
-
rubygems
/ format (48) -
rubygems
/ installer (12) -
rubygems
/ old _ format (48) -
rubygems
/ platform (132) -
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (24) -
rubygems
/ spec _ fetcher (24) -
rubygems
/ specification (72) -
rubygems
/ version _ option (12) - scanf (108)
- shell (6)
-
shell
/ command-processor (18) -
shell
/ filter (6) -
shell
/ process-controller (6) - stringio (12)
-
syslog
/ logger (24) - un (12)
- uri (24)
-
webrick
/ httputils (132) - zlib (12)
クラス
-
ARGF
. class (12) - Array (48)
- Date (12)
-
Gem
:: Format (48) -
Gem
:: Installer (12) -
Gem
:: OldFormat (48) -
Gem
:: Platform (132) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (24) -
Gem
:: SpecFetcher (24) -
Gem
:: Specification (72) - GetoptLong (24)
- IO (12)
-
Logger
:: Formatter (12) - Matrix (24)
-
Matrix
:: LUPDecomposition (12) -
Net
:: FTP (12) -
Net
:: FTP :: MLSxEntry (10) -
Net
:: HTTPGenericRequest (24) -
OpenSSL
:: PKey :: EC :: Group (24) - OptionParser (36)
- Pathname (48)
-
Process
:: Status (12) -
Psych
:: Nodes :: Node (12) -
RDoc
:: Context (36) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: Formatter (24) -
RDoc
:: Options (36) -
RDoc
:: TopLevel (36) -
REXML
:: Formatters :: Default (12) -
REXML
:: Formatters :: Pretty (48) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (24) -
RSS
:: Rss :: Channel :: Item :: Guid (12) -
Scanf
:: FormatSpecifier (66) -
Scanf
:: FormatString (30) - Shell (6)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (6) -
Shell
:: ProcessController (6) - String (21)
- StringIO (12)
-
Syslog
:: Logger (12) -
Syslog
:: Logger :: Formatter (12) - Thread (12)
- Time (12)
-
URI
:: Generic (24) -
WEBrick
:: HTTPUtils :: FormData (132) -
Zlib
:: GzipWriter (12)
モジュール
-
CGI
:: HtmlExtension (72) - Exception2MessageMapper (12)
-
Gem
:: VersionOption (12) - Kernel (12)
-
Net
:: HTTPHeader (24) -
OpenSSL
:: Buffering (12) -
OpenURI
:: OpenRead (24) -
OptionParser
:: Arguable (12)
キーワード
- << (12)
- == (12)
- === (12)
- =~ (12)
- [] (12)
-
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ module (12) -
add
_ platform _ option (12) -
add
_ tag (12) -
append
_ data (12) - call (24)
- compact (12)
- compact= (12)
- conversion (6)
- convert (24)
-
count
_ space? (6) - cpu (12)
- cpu= (12)
-
def
_ exception (6) - delete (6)
- determinant (24)
-
each
_ data (12) - fetch (12)
- filename (12)
- filename= (12)
-
find
_ local _ symbol (12) -
find
_ matching (12) -
find
_ module _ named (12) - form (24)
-
form
_ data= (12) -
formatted
_ program _ filename (12) - formatter (24)
- formatter= (12)
-
gem
_ path (24) -
gem
_ path= (24) -
image
_ format (12) - isPermaLink (24)
- isPermaLink= (12)
-
last
_ spec (6) -
last
_ spec _ tried (6) - letter (6)
- list (12)
- match (6)
- matched (6)
-
matched
_ string (6) -
mid
_ match? (6) -
multipart
_ form (48) - name (12)
- name= (12)
- normalize (24)
- normalize! (12)
- open (48)
-
original
_ platform (12) -
original
_ platform= (12) - os (12)
- os= (12)
- perm (10)
- permutation (24)
- permutation? (12)
- permute (24)
- permute! (24)
- platform (12)
- platform= (12)
-
point
_ conversion _ form (12) -
point
_ conversion _ form= (12) - printf (60)
- prune (6)
-
re
_ string (6) -
repeated
_ permutation (24) -
request
_ body _ permitted? (12) - requirements= (12)
-
response
_ body _ permitted? (12) - rmdir (54)
- rmtree (12)
- scanf (12)
- search (24)
-
search
_ with _ source (12) -
set
_ form _ data (12) - space (6)
- spec (24)
- spec= (24)
-
spec
_ count (6) - strftime (24)
- terminate (24)
-
terminate
_ job (6) - terminated? (12)
- termsig (12)
-
to
_ a (12) -
to
_ ary (12) -
to
_ re (6) -
to
_ s (30) - transform (12)
- unpack1 (9)
- version (12)
- version= (12)
- width (18)
- width= (12)
- write (12)
検索結果
先頭5件
-
Array
# repeated _ permutation(n) -> Enumerator (18302.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙......repeated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permut......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (18302.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙......repeated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permut......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
Shell
:: CommandProcessor # rm(*filename) -> Integer (18102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (15201.0) -
option parser に対して --platform オプションを追加します。
...option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定し... -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") -> String (12401.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。......例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") { . . . } -> String (12401.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。......例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>... -
Gem
:: Specification # original _ platform=(platform) (12401.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
...この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。... -
Gem
:: Specification # platform=(platform) (12401.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
...この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY... -
OpenURI
:: OpenRead # open(mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (12301.0) -
自身が表すリソースを取得して StringIO オブジェクトとして返します。 OpenURI.open_uri(self, *rest, &block) と同じです。
...自身が表すリソースを取得して StringIO オブジェクトとして返します。
OpenURI.open_uri(self, *rest, &block) と同じです。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に Strin......OpenURI::Meta モジュールで extend されています。
@param mode モードを文字列で与えます。Kernel.#open と同じです。
@param perm 無視されます。
@param options ハッシュを与えます。
@raise OpenURI::HTTPError 対象となる URI のスキームが http......。
@raise Net::FTPError 対象となる URI のスキームが ftp であり、かつリソースの取得に失敗した時に
Net::FTPError のサブクラスが発生します。詳しくは net/ftp
を参照して下さい。
@see OpenURI.open_uri...