492件ヒット
[1-100件を表示]
(0.099秒)
ライブラリ
- ビルトイン (108)
- bigdecimal (24)
- rake (12)
-
rubygems
/ requirement (12) -
rubygems
/ source _ index (12) -
rubygems
/ specification (204) - shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (48) - stringio (12)
- strscan (12)
クラス
- BigDecimal (24)
- Exception (12)
-
Gem
:: Requirement (12) -
Gem
:: SourceIndex (12) -
Gem
:: Specification (204) - Method (12)
-
Rake
:: Application (12) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (48) - StringIO (12)
- StringScanner (12)
- UnboundMethod (12)
モジュール
- Enumerable (72)
キーワード
-
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ loader (12) -
add
_ runtime _ dependency (12) - all? (24)
- any? (16)
- autorequire (12)
- autorequire= (12)
-
backtrace
_ locations (12) - concat (24)
- each (6)
- echo (18)
-
find
_ name (12) - glob (18)
-
lib
_ files (12) - none? (8)
- one? (24)
-
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) -
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) - requirements (12)
- requirements= (12)
-
satisfies
_ requirement? (12) -
source
_ location (24) - tee (18)
-
to
_ a (6) -
to
_ s (6) - truncate (36)
- | (6)
検索結果
先頭5件
-
Shell
# cat(*files) -> Shell :: Filter (24220.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする 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) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: CommandProcessor # cat(*files) -> Shell :: Filter (24220.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする 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) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: Filter # cat(*files) -> Shell :: Filter (24220.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...を内容とする 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) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Gem
:: Specification # satisfies _ requirement?(dependency) -> bool (18201.0) -
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
この Gem パッケージが与えられた依存関係を満たすかどうかを返します。
依存関係を満たす場合は真を返します。そうでない場合は偽を返します。
@param dependency チェックしたい依存関係を指定します。
@see Gem::Dependency -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (15407.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...ption#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Dat......month, -1).day == 31
raise "#{month} is not long month"
end
def get_exception
return begin
yield
rescue => e
e
end
end
e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:in `get_ex......ception'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace... -
Gem
:: Specification # require _ path=(path) (15330.0) -
Gem::Specification#require_paths= の単数バージョンです。
...Gem::Specification#require_paths= の単数バージョンです。
@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。
@see Gem::Specification#require_paths=... -
Gem
:: Specification # require _ paths=(paths) (15324.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。
@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリ... -
Gem
:: Requirement # concat(requirements) -> Array (15301.0) -
新しい条件(配列)を自身の条件に破壊的に加えます。
...新しい条件(配列)を自身の条件に破壊的に加えます。
@param requirements 条件の配列を指定します。
//emlist[][ruby]{
req = Gem::Requirement.new("< 5.0")
req.concat(["= 1.9"])
puts req # => < 5.0, = 1.9
//}... -
Gem
:: Specification # require _ path -> String (15224.0) -
Gem::Specification#require_paths の単数バージョンです。
...Gem::Specification#require_paths の単数バージョンです。
@see Gem::Specification#require_paths... -
Gem
:: Specification # require _ paths -> [String] (15218.0) -
この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。
...この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。...