487件ヒット
[1-100件を表示]
(0.141秒)
ライブラリ
- ビルトイン (166)
- bigdecimal (22)
- openssl (99)
- pathname (11)
- rake (44)
-
rubygems
/ specification (22) - shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (42) -
webrick
/ httpauth / authenticator (33)
クラス
- BigDecimal (22)
-
Enumerator
:: Lazy (22) - Float (11)
-
Gem
:: Specification (22) -
OpenSSL
:: X509 :: Certificate (44) -
OpenSSL
:: X509 :: ExtensionFactory (22) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (22) - Pathname (11)
- Proc (11)
-
Rake
:: Application (22) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) - Rational (11)
- Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (42) - Thread (22)
-
Thread
:: Backtrace :: Location (33)
モジュール
- Enumerable (56)
-
WEBrick
:: HTTPAuth :: Authenticator (33)
キーワード
-
absolute
_ path (11) - autorequire (11)
-
backtrace
_ locations (22) - chain (22)
- collect (17)
-
collect
_ concat (22) -
current
_ cert (11) - echo (18)
-
flat
_ map (22) - glob (18)
- inspect (11)
-
issuer
_ certificate (11) - logger (11)
- map (17)
-
original
_ dir (11) - realm (11)
-
source
_ location (11) -
subject
_ certificate (11) - tee (18)
-
to
_ a (6) -
to
_ der (11) -
to
_ pem (11) -
to
_ ruby (11) -
to
_ s (50) -
to
_ text (11) -
top
_ level _ tasks (11) - truncate (55)
- userdb (11)
- | (6)
検索結果
先頭5件
-
Shell
# cat(*files) -> Shell :: Filter (18220.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 (18220.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 (18220.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) |... -
Rake
:: InvocationChain :: EmptyInvocationChain # to _ s -> String (12202.0) -
'TOP' という文字列を返します。
...'TOP' という文字列を返します。... -
Enumerator
:: Lazy # collect _ concat {|item| . . . } -> Enumerator :: Lazy (9307.0) -
ブロックの実行結果をひとつに繋げたものに対してイテレートするような Enumerator::Lazy のインスタンスを返します。
...rator::Lazy のインスタンスを返します。
//emlist[][ruby]{
["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force
#=> ["f", "o", "o", "b", "a", "r"]
//}
ブロックの返した値 x は、以下の場合にのみ分解され、連結されます。
* x が配列であるか、to_a......ry メソッドを持つとき
* x が each および force メソッドを持つ (例:Enumerator::Lazy) とき
それ以外のときは、x は分解されず、そのままの値として使われます。
//emlist[][ruby]{
[{a:1}, {b:2}].lazy.flat_map {|i| i}.force
#=> [{:a=>1}, {:b=>2}]
//}... -
OpenSSL
:: X509 :: ExtensionFactory # issuer _ certificate -> OpenSSL :: X509 :: Certificate | nil (9301.0) -
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
自身に設定されている発行者(issuer)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
OpenSSL
:: X509 :: ExtensionFactory # subject _ certificate -> OpenSSL :: X509 :: Certificate | nil (9301.0) -
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
自身に設定されている所有者(subject)の証明書オブジェクトを返します。
証明書が設定されていない場合は nil を返します。 -
Thread
:: Backtrace :: Location # to _ s -> String (9226.0) -
self が表すフレームを Kernel.#caller と同じ表現にした文字列を返し ます。
...mlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end
Foo.new(0..2).locations.map do |call|
puts call.to_s
end
# => path/to/foo.rb:5:in `initialize'
# path/to/foo.rb:9:in `new'
# path/to/foo.rb:9:in `<main>'
//}... -
Rake
:: InvocationChain # to _ s -> String (9208.0) -
トップレベルのタスクから自身までの依存関係を文字列として返します。
...の依存関係を文字列として返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
invocation_chain= Rake::InvocationChain.new("task_a", Rake::InvocationChain::EMPTY)
invocation_chain.to_s # => "TOP => task_a"
end
//}... -
OpenSSL
:: X509 :: Certificate # to _ pem -> String (9203.0) -
PEM 形式の文字列を返します。
PEM 形式の文字列を返します。 -
OpenSSL
:: X509 :: Certificate # to _ s -> String (9203.0) -
PEM 形式の文字列を返します。
PEM 形式の文字列を返します。