270件ヒット
[201-270件を表示]
(0.069秒)
ライブラリ
- ビルトイン (90)
-
net
/ ftp (24) - optparse (72)
-
rubygems
/ command (24) -
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ input (12) -
rubygems
/ specification (24)
クラス
- Array (18)
- Fiber (12)
-
Gem
:: Command (24) -
Gem
:: Package :: TarHeader (24) -
Gem
:: Package :: TarInput (12) -
Gem
:: Specification (24) -
Net
:: FTP (24) - OptionParser (72)
- Proc (24)
- String (12)
モジュール
- Enumerable (24)
キーワード
- checksum (12)
- curry (24)
-
extract
_ entry (12) - resume (24)
- resume= (12)
- summarize (24)
- summary (24)
- summary= (24)
-
summary
_ indent (12) -
summary
_ indent= (12) -
summary
_ width (12) -
summary
_ width= (12) -
update
_ checksum (12)
検索結果
先頭5件
-
OptionParser
# summary _ indent=(indent) (6101.0) -
サマリを表示する時のインデントを文字列で指定します。
...pdate")
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, --init\n", " -u, --update\n"... -
OptionParser
# summary _ width -> Integer (6101.0) -
サマリを表示するときの幅を整数で返します。
...pts.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", "... -
OptionParser
# summary _ width=(width) (6101.0) -
サマリを表示するときの幅を整数で指定します。
...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 # => 8
opts.summary_width # => 8
opts.summarize
# => [" -i\n", " --init\n", " -u\n", "... -
Gem
:: Package :: TarInput # extract _ entry(destdir , entry , expected _ md5sum = nil) (108.0) -
指定された destdir に entry を展開します。
...param destdir 展開先のディレクトリを指定します。
@param entry エントリを指定します。
@param expected_md5sum 期待する MD5 チェックサムを指定します。
@raise Gem::Package::BadCheckSum チェックサムが一致しなかった場合に発生します。... -
Proc
# curry -> Proc (13.0) -
Procをカリー化します
...5)[1][2][3][4][5] #=> 6
p b.curry(5)[1, 2][3, 4][5] #=> 6
p b.curry(1)[1] #=> 1
b = proc {|x, y, z, *w| (x||0) + (y||0) + (z||0) + w.sum }
p b.curry[1][2][3] #=> 6
p b.curry[1, 2][3, 4] #=> 10
p b.curry(5)[1][2][3][4][5] #=> 15
p b.curry(5)[1, 2][3, 4][5] #=> 15
p......expected 3)
p b.curry(1) #=> wrong number of arguments (given 1, expected 3)
b = lambda {|x, y, z, *w| (x||0) + (y||0) + (z||0) + w.sum }
p b.curry[1][2][3] #=> 6
p b.curry[1, 2][3, 4] #=> 10
p b.curry(5)[1][2][3][4][5] #=> 15
p b.curry(5)[1, 2][3, 4][5] #=> 15
p... -
Proc
# curry(arity) -> Proc (13.0) -
Procをカリー化します
...5)[1][2][3][4][5] #=> 6
p b.curry(5)[1, 2][3, 4][5] #=> 6
p b.curry(1)[1] #=> 1
b = proc {|x, y, z, *w| (x||0) + (y||0) + (z||0) + w.sum }
p b.curry[1][2][3] #=> 6
p b.curry[1, 2][3, 4] #=> 10
p b.curry(5)[1][2][3][4][5] #=> 15
p b.curry(5)[1, 2][3, 4][5] #=> 15
p......expected 3)
p b.curry(1) #=> wrong number of arguments (given 1, expected 3)
b = lambda {|x, y, z, *w| (x||0) + (y||0) + (z||0) + w.sum }
p b.curry[1][2][3] #=> 6
p b.curry[1, 2][3, 4] #=> 10
p b.curry(5)[1][2][3][4][5] #=> 15
p b.curry(5)[1, 2][3, 4][5] #=> 15
p...