2498件ヒット
[1-100件を表示]
(0.136秒)
ライブラリ
- ビルトイン (681)
- bigdecimal (22)
-
cgi
/ html (22) - csv (11)
- etc (11)
- logger (6)
-
minitest
/ unit (1) -
net
/ http (22) - objspace (44)
- open3 (22)
- openssl (462)
- pathname (11)
- rake (121)
-
rubygems
/ dependency _ list (33) -
rubygems
/ gem _ path _ searcher (22) -
rubygems
/ installer (22) -
rubygems
/ old _ format (11) -
rubygems
/ package / tar _ input (11) -
rubygems
/ security (22) -
rubygems
/ source _ index (66) -
rubygems
/ source _ info _ cache (11) -
rubygems
/ specification (495) -
rubygems
/ uninstaller (11) - shell (36)
-
shell
/ command-processor (36) -
shell
/ filter (60) - stringio (11)
- strscan (11)
-
webrick
/ httpauth / authenticator (121) -
webrick
/ httpauth / basicauth (11) -
webrick
/ https (22)
クラス
-
ARGF
. class (11) - Array (94)
- BigDecimal (22)
- Binding (6)
- CSV (11)
- Class (11)
- Encoding (11)
-
Enumerator
:: Lazy (22) - Exception (11)
- File (22)
- Float (11)
-
Gem
:: DependencyList (33) -
Gem
:: GemPathSearcher (22) -
Gem
:: Installer (22) -
Gem
:: OldFormat (11) -
Gem
:: Package :: TarInput (11) -
Gem
:: SourceIndex (66) -
Gem
:: SourceInfoCache (11) -
Gem
:: Specification (495) -
Gem
:: Uninstaller (11) - Hash (18)
- Integer (4)
-
Logger
:: Application (6) - Method (11)
-
MiniTest
:: Unit (1) - Module (14)
-
Net
:: HTTP (22) - Object (11)
-
OpenSSL
:: OCSP :: BasicResponse (11) -
OpenSSL
:: OCSP :: CertificateId (44) -
OpenSSL
:: OCSP :: Request (11) -
OpenSSL
:: PKCS12 (22) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: SSL :: SSLContext (33) -
OpenSSL
:: SSL :: SSLSocket (33) -
OpenSSL
:: X509 :: Certificate (209) -
OpenSSL
:: X509 :: ExtensionFactory (22) -
OpenSSL
:: X509 :: Store (11) -
OpenSSL
:: X509 :: StoreContext (22) - Pathname (11)
- Proc (11)
-
Rake
:: Application (66) -
Rake
:: InvocationChain (11) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: Task (11) - Rational (11)
- Shell (36)
-
Shell
:: CommandProcessor (36) -
Shell
:: Filter (60) - String (19)
- StringIO (11)
- StringScanner (11)
- Thread (33)
-
Thread
:: Backtrace :: Location (77) - UnboundMethod (11)
-
WEBrick
:: HTTPAuth :: BasicAuth (11) -
WEBrick
:: HTTPRequest (22)
モジュール
-
CGI
:: HtmlExtension (22) - Comparable (11)
- Enumerable (188)
- Etc (11)
-
Gem
:: Security (22) - Kernel (47)
- ObjectSpace (44)
- Open3 (22)
-
OpenSSL
:: OCSP (11) -
OpenSSL
:: X509 (11) - Rake (22)
-
WEBrick
:: HTTPAuth :: Authenticator (77) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (44) - Warning (16)
キーワード
- AuthException (22)
- AuthScheme (11)
-
DEFAULT
_ RAKEFILES (11) - InfoField (11)
-
MARSHAL
_ FIELDS (11) -
REVOKED
_ STATUS _ CERTIFICATEHOLD (11) - RequestField (22)
- ResponseField (22)
- ResponseInfoField (11)
- Rubyの起動 (11)
-
SC
_ 2 _ PBS _ LOCATE (11) -
V
_ ERR _ APPLICATION _ VERIFICATION (11) - [] (5)
- []= (5)
-
_ load (11) -
absolute
_ path (11) -
add
_ bindir (11) -
add
_ certificate (11) -
add
_ dependency (11) -
add
_ development _ dependency (11) -
add
_ extension (11) -
add
_ runtime _ dependency (11) - all? (39)
- allocate (11)
-
allocation
_ sourcefile (11) -
allocation
_ sourceline (11) - any? (42)
- application (22)
- application= (11)
- appname (1)
-
assign
_ defaults (11) -
attribute
_ alias _ singular (11) -
attribute
_ defaults (11) - authenticate (11)
-
backtrace
_ locations (33) -
base
_ label (11) - between? (11)
-
build
_ cert (11) -
ca
_ certs (11) -
caller
_ locations (22) - catch (22)
- cert (33)
- certid (11)
- certificate (11)
- certificates (11)
- chain (22)
-
check
_ private _ key (11) -
client
_ ca (11) -
client
_ cert (11) - cmp (11)
-
cmp
_ issuer (11) - collect (22)
-
collect
_ concat (33) - concat (67)
-
const
_ source _ location (5) -
current
_ cert (11) - debug (11)
-
default
_ executable (11) -
default
_ value (11) -
dependency
_ order (11) -
deprecate
_ constant (9) -
development
_ dependencies (11) - each (6)
- echo (18)
- email (11)
- executable (11)
- executables (11)
- extensions (11)
-
extra
_ chain _ cert (11) -
extra
_ rdoc _ files (11) -
fetch
_ values (18) -
file
_ name (11) - files (11)
- find (11)
-
find
_ all (11) -
find
_ name (22) -
flat
_ map (33) - form (22)
-
from
_ installed _ gems (11) -
from
_ yaml (11) -
full
_ gem _ path (11) -
full
_ name (11) - glob (18)
-
has
_ rdoc (11) -
has
_ rdoc? (11) -
has
_ test _ suite? (11) -
has
_ unit _ tests? (11) -
inplace
_ mode (11) - inspect (11)
- install (11)
-
installation
_ path (11) -
instance
_ variable _ defined? (11) - issuer (11)
-
issuer
_ certificate (11) - label (11)
-
lib
_ files (11) - lineno (11)
- list (11)
- load (11)
-
load
_ gemspec (11) -
load
_ specification (11) - loaded? (11)
-
loaded
_ from (11) - location (1)
- log (2)
- logger (11)
- map (22)
- member? (22)
- name (11)
- new (34)
- none? (47)
- normalize (11)
-
normalize
_ yaml _ input (11) -
not
_ after (11) -
not
_ before (11) - one? (47)
-
original
_ dir (11) -
original
_ name (11) -
original
_ platform (11) - path (11)
-
peer
_ cert (22) -
peer
_ cert _ chain (11) -
pipeline
_ rw (22) - platform (11)
-
public
_ key (11) - rakefile (11)
-
read
_ only (11) - realm (11)
-
remove
_ by _ name (11) -
remove
_ spec (11) - replicate (11)
-
required
_ attribute (11) -
required
_ attribute? (11) -
satisfies
_ requirement? (11) - search (22)
- serial (22)
-
server
_ cert (11) -
set
_ log (1) - shell (6)
- sign (11)
-
sign
_ cert (11) -
signature
_ algorithm (11) -
source
_ location (39) - spec (33)
- specification (11)
- start (1)
- status (11)
- subject (11)
-
subject
_ certificate (11) - tee (18)
-
test
_ file (11) -
test
_ files (11) -
test
_ suite _ file (11) -
thread
_ variable _ set (11) -
to
_ a (6) -
to
_ der (11) -
to
_ pem (11) -
to
_ s (28) -
to
_ text (11) -
top
_ level _ tasks (11) -
trace
_ object _ allocations _ start (11) -
trace
_ object _ allocations _ stop (11) - truncate (121)
- validate (11)
- verify (11)
- version (11)
- warn (9)
- | (6)
- 制御構造 (11)
- 正規表現 (11)
検索結果
先頭5件
-
Shell
# cat(*files) -> Shell :: Filter (21325.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 (21325.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 (21325.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"
}
}
}... -
OpenSSL
:: X509 :: V _ ERR _ APPLICATION _ VERIFICATION -> Integer (18400.0) -
アプリケーションが利用するエラーコードです。
...enSSL のライブラリでは使われないので、
アプリケーションプログラマが自由に利用することが可能です。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#verify_callbac......k=,
OpenSSL::X509::StoreContext#error=... -
Enumerable
# collect _ concat -> Enumerator (15300.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
...ックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//}... -
Enumerable
# collect _ concat {| obj | block } -> Array (15300.0) -
各要素をブロックに渡し、その返り値を連結した配列を返します。
...ックに渡し、その返り値を連結した配列を返します。
ブロックの返り値は基本的に配列を返すべきです。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
[[1,2], [3,4]].flat_map{|i| i.map{|j| j*2}} # => [2,4,6,8]
//}... -
Rake
. application -> Rake :: Application (12506.0) -
現在の Rake アプリケーションを返します。
...//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loade......rs=
# {".rb"=>#<Rake::DefaultLoader:0x31b0c18>,
# ".rf"=>#<Rake::DefaultLoader:0x31b0b88>,
# ".rake"=>#<Rake::DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pend......file="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=LL(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_le... -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (12500.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.new(2000, month, -1).day == 31
raise "#{month} is not l......et_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_exception'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace... -
Rake
:: Task # application -> Rake :: Application (12500.0) -
自身を所有している Rake::Application のインスタンスを返します。
...自身を所有している Rake::Application のインスタンスを返します。... -
Thread
# backtrace _ locations(range) -> [Thread :: Backtrace :: Location] | nil (12500.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...ースを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレー......。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
//}
@s......ee Thread::Backtrace::Location... -
Thread
# backtrace _ locations(start = 0 , length = nil) -> [Thread :: Backtrace :: Location] | nil (12500.0) -
スレッドの現在のバックトレースを Thread::Backtrace::Location の配 列で返します。
...ースを Thread::Backtrace::Location の配
列で返します。
引数で指定した値が範囲外の場合、スレッドがすでに終了している場合は nil
を返します。
@param start 開始フレームの位置を数値で指定します。
@param length 取得するフレー......。
Kernel.#caller_locations と似ていますが、本メソッドは self に限定
した情報を返します。
//emlist[例][ruby]{
thread = Thread.new { sleep 1 }
thread.run
thread.backtrace_locations # => ["/path/to/test.rb:1:in `sleep'", "/path/to/test.rb:1:in `block in <main>'"]
//}
@s......ee Thread::Backtrace::Location...