808件ヒット
[1-100件を表示]
(0.035秒)
別のキーワード
ライブラリ
- ビルトイン (334)
- logger (1)
-
net
/ imap (12) - open3 (24)
- openssl (36)
- rake (12)
-
rubygems
/ source _ index (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (72) - shell (18)
-
shell
/ builtin-command (12) -
shell
/ command-processor (18) -
shell
/ filter (18)
クラス
- Array (9)
-
Enumerator
:: Lazy (24) -
Gem
:: SourceIndex (12) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (72) - IO (168)
- Module (12)
-
Net
:: IMAP (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: X509 :: Certificate (12) -
Rake
:: Application (12) - Shell (18)
-
Shell
:: Cat (6) -
Shell
:: CommandProcessor (18) -
Shell
:: Concat (6) -
Shell
:: Filter (18) - String (9)
モジュール
- Enumerable (96)
- Kernel (4)
- Open3 (24)
キーワード
- Application (1)
- Certificate (12)
- Location (12)
-
NEWS for Ruby 2
. 2 . 0 (11) - Rubyの起動 (12)
-
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ runtime _ dependency (12) -
arg
_ concat (12) - attribute (12)
- attributes (12)
- authenticate (12)
- collect (24)
-
collect
_ concat (36) - concat (36)
-
deprecate
_ constant (12) - echo (18)
-
flat
_ map (36) -
from
_ installed _ gems (12) -
list
_ concat (12) -
literal
_ concat (12) -
literal
_ concat _ dstr (12) -
literal
_ concat _ list (12) -
literal
_ concat _ string (12) - map (24)
-
mark
_ locations _ array (12) - new (12)
-
pipeline
_ rw (24) - popen (168)
-
public
_ key (12) -
rb
_ catch (12) -
rb
_ gc _ mark _ locations (12) -
rb
_ str _ cat (12) -
rb
_ str _ cat2 (12) - rdoc (12)
-
rdoc
/ markdown (12) -
read
_ only (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) - run (12)
- search (12)
- status (12)
- warn (4)
- 制御構造 (12)
- 正規表現 (12)
検索結果
先頭5件
-
Shell
# cat(*files) -> Shell :: Filter (18213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
....
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) |... -
Shell
:: CommandProcessor # cat(*files) -> Shell :: Filter (18213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
....
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) |... -
Shell
:: Filter # cat(*files) -> Shell :: Filter (18213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
....
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) |... -
Shell
# concat(*jobs) -> Shell :: Concat (6300.0) -
@todo
@todo -
Shell
:: CommandProcessor # concat(*jobs) -> Shell :: Concat (6300.0) -
@todo
@todo -
Shell
:: Filter # concat(*jobs) -> Shell :: Concat (6300.0) -
@todo
@todo -
Array
# concat(*other _ arrays) -> self (6200.0) -
other_arrays の要素を自身の末尾に破壊的に連結します。
...][ruby]{
[ "a", "b" ].concat( ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat( ["b"], ["c", "d"] ) #=> [ "a", "b", "c", "d" ]
[ "a" ].concat #=> [ "a" ]
a = [ 1, 2, 3 ]
a.concat( [ 4, 5 ] )
a #=> [ 1, 2, 3, 4, 5 ]
a = [ 1, 2 ]
a.concat(a, a)... -
Module
# deprecate _ constant(*name) -> self (6200.0) -
name で指定した定数を deprecate に設定します。 deprecate に設定した定数を参照すると警告メッセージが表示されます。
...name で指定した定数を deprecate に設定します。
deprecate に設定した定数を参照すると警告メッセージが表示されます。
Ruby 2.7.2 から Warning[:deprecated] のデフォルト値が false に変更になったため、
デフォルトでは警告が表示さ......参照)で、
「-w」か「-W2」などを指定するか、実行中に「Warning[:deprecated] = true」で
変更すると表示されるようになります。
「$VERBOSE = true」は「Warning[:deprecated]」に影響しないため、
表示されるかどうかは変わりません。
@pa......い定数を指定した場合に発生します。
@return self を返します。
//emlist[例][ruby]{
FOO = 123
Object.deprecate_constant(:FOO) # => Object
FOO
# warning: constant ::FOO is deprecated
# => 123
Object.deprecate_constant(:BAR)
# NameError: constant Object::BAR not defined
//}... -
VALUE rb
_ catch(const char *tag , VALUE (*proc)() , VALUE data) (6200.0) -
catch と同等の動作を実行します。
...
catch と同等の動作を実行します。
まず proc に、yield された値と data を渡して実行します。
その途中で tag が throw されたら rb_catch 全体を終了します。
throw が発生した場合はその値を返します。
throw が発生しなかったとき......oo_catch(VALUE obj)
{
return rb_catch("footag", foo_yield, INT2FIX(2));
}
static VALUE
foo_abort(VALUE obj)
{
return rb_throw("footag", Qnil);
}
void
Init_foo(void)
{
VALUE Foo = rb_define_class("Foo", rb_cObject);
rb_define_method(Foo, "catch", foo_catch,... -
VALUE rb
_ str _ cat(VALUE str , const char *ptr , long len) (6200.0) -
文字列 str に、長さ len (NUL 含まず)の C の文字列 ptr を破壊的に連結します。
文字列 str に、長さ len (NUL 含まず)の C の文字列
ptr を破壊的に連結します。 -
VALUE rb
_ str _ cat2(VALUE str , const char *ptr) (6200.0) -
文字列 str に C の文字列 ptr を破壊的に 連結します。ptr はヌル終端を仮定しています。
文字列 str に C の文字列 ptr を破壊的に
連結します。ptr はヌル終端を仮定しています。 -
static NODE * arg
_ concat(NODE *node1 , NODE *node2) (6200.0) -