ライブラリ
- ビルトイン (57)
- bigdecimal (2)
-
cgi
/ html (2) - csv (1)
-
net
/ http (3) -
net
/ imap (1) -
net
/ smtp (1) - openssl (50)
- pathname (1)
- rake (19)
-
rake
/ gempackagetask (1) -
rdoc
/ context (1) - rss (27)
-
rubygems
/ dependency _ list (3) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (3) -
rubygems
/ indexer (2) -
rubygems
/ installer (2) -
rubygems
/ old _ format (1) -
rubygems
/ package / tar _ input (2) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (5) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ specification (97) -
rubygems
/ uninstaller (1) - shell (6)
-
shell
/ builtin-command (2) -
shell
/ command-processor (6) -
shell
/ filter (10) - stringio (1)
- strscan (1)
-
webrick
/ httpauth / authenticator (3) -
webrick
/ httpauth / basicauth (1) -
webrick
/ httpauth / digestauth (1) -
webrick
/ https (2)
クラス
-
ARGF
. class (1) - Array (5)
- BigDecimal (2)
- CSV (1)
- Class (1)
- Encoding (1)
-
Enumerator
:: Lazy (2) - Exception (1)
- File (1)
- Float (1)
-
Gem
:: DependencyList (3) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (3) -
Gem
:: Indexer (2) -
Gem
:: Installer (2) -
Gem
:: OldFormat (1) -
Gem
:: Package :: TarInput (2) -
Gem
:: Requirement (1) -
Gem
:: SourceIndex (5) -
Gem
:: SourceInfoCache (1) -
Gem
:: Specification (97) -
Gem
:: Uninstaller (1) - Hash (2)
- IO (1)
- Integer (1)
- Method (1)
- Module (1)
-
Net
:: HTTP (3) -
Net
:: IMAP (1) -
Net
:: SMTP (1) - Numeric (1)
- Object (1)
-
OpenSSL
:: OCSP :: BasicResponse (1) -
OpenSSL
:: OCSP :: CertificateId (3) -
OpenSSL
:: OCSP :: Request (1) -
OpenSSL
:: PKCS12 (2) -
OpenSSL
:: PKCS7 (3) -
OpenSSL
:: SSL :: SSLContext (5) -
OpenSSL
:: SSL :: SSLSocket (3) -
OpenSSL
:: X509 :: Certificate (25) -
OpenSSL
:: X509 :: ExtensionFactory (4) -
OpenSSL
:: X509 :: Store (1) -
OpenSSL
:: X509 :: StoreContext (2) - Pathname (1)
- Proc (1)
-
RDoc
:: Context (1) -
RSS
:: Maker :: ChannelBase (1) -
RSS
:: Maker :: ChannelBase :: CategoriesBase (1) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (4) -
RSS
:: Maker :: ItemsBase :: ItemBase (4) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Categories (1) -
RSS
:: Rss :: Channel (3) -
RSS
:: Rss :: Channel :: Item (3) -
RSS
:: Rss :: Channel :: Item :: Category (4) -
Rake
:: Application (11) -
Rake
:: GemPackageTask (1) -
Rake
:: InvocationChain (3) -
Rake
:: InvocationChain :: EmptyInvocationChain (3) -
Rake
:: Task (2) - Rational (1)
- Shell (6)
-
Shell
:: Cat (1) -
Shell
:: CommandProcessor (6) -
Shell
:: Concat (1) -
Shell
:: Filter (10) - String (2)
- StringIO (1)
- StringScanner (1)
- Thread (3)
-
Thread
:: Backtrace :: Location (7) - UnboundMethod (1)
-
WEBrick
:: HTTPAuth :: BasicAuth (1) -
WEBrick
:: HTTPAuth :: DigestAuth (1) -
WEBrick
:: HTTPRequest (2)
モジュール
-
CGI
:: HtmlExtension (2) - Comparable (1)
- Enumerable (20)
-
RSS
:: SyndicationModel (6) -
WEBrick
:: HTTPAuth :: Authenticator (3)
キーワード
-
_ dump (1) - abbreviate (1)
-
absolute
_ path (1) -
add
_ bindir (1) -
add
_ certificate (1) -
add
_ dependency (1) -
add
_ development _ dependency (1) -
add
_ extension (1) -
add
_ loader (1) -
add
_ runtime _ dependency (1) -
add
_ spec (1) - all? (3)
- allocate (1)
- any? (6)
- append (2)
- application (1)
- application= (1)
-
assign
_ defaults (1) - authenticate (4)
- autorequire (1)
- autorequire= (1)
-
backtrace
_ locations (3) -
base
_ label (1) - between? (1)
- bindir (1)
- bindir= (1)
-
ca
_ certs (1) - categories (4)
- category (2)
- category= (2)
- cert (3)
- cert= (2)
-
cert
_ chain (1) -
cert
_ chain= (1) - certid (1)
- certificate (1)
- certificates (1)
- certificates= (1)
- chain (2)
-
check
_ private _ key (1) -
client
_ ca (1) -
client
_ cert (1) -
close
_ on _ exec= (1) - cmp (1)
-
cmp
_ issuer (1) - collect (2)
-
collect
_ concat (3) - concat (9)
- content (2)
- content= (2)
-
current
_ cert (1) - date (1)
- date= (1)
-
default
_ executable (1) -
default
_ executable= (1) - dependencies (1)
-
dependency
_ order (1) -
dependent
_ gems (1) -
deprecate
_ constant (1) - description (1)
- description= (1)
-
development
_ dependencies (1) - domain (2)
- domain= (2)
- each (3)
- echo (3)
- email (1)
- email= (1)
- enclosure (1)
- executable (1)
- executable= (1)
- executables (1)
- executables= (1)
- extensions (2)
- extensions= (2)
-
extra
_ chain _ cert (1) -
extra
_ chain _ cert= (1) -
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
fetch
_ values (2) -
file
_ name (1) - files (1)
- files= (1)
- find (1)
-
find
_ all (1) -
find
_ name (2) -
flat
_ map (3) - form (2)
-
full
_ gem _ path (1) -
full
_ name (1) -
gem
_ spec (1) - glob (3)
- guid (1)
-
has
_ rdoc (1) -
has
_ rdoc= (1) -
has
_ rdoc? (1) -
has
_ test _ suite? (1) -
has
_ unit _ tests? (1) - homepage (1)
- homepage= (1)
- init (1)
-
init
_ gemspecs (1) -
inplace
_ mode (1) - inspect (1)
- install (1)
-
installation
_ path (1) -
instance
_ variable _ defined? (1) - issuer (1)
- issuer= (1)
-
issuer
_ certificate (1) -
issuer
_ certificate= (1) - label (1)
-
lib
_ files (1) - lineno (1)
-
load
_ gemspec (1) -
load
_ rakefile (1) - loaded= (1)
- loaded? (1)
-
loaded
_ from (1) -
loaded
_ from= (1) - logger (1)
- map (2)
-
mark
_ version (1) - member? (2)
- name (2)
- name= (1)
-
new
_ category (2) - none? (3)
- normalize (1)
-
not
_ after (1) -
not
_ after= (1) -
not
_ before (1) -
not
_ before= (1) - one? (3)
-
original
_ dir (1) -
original
_ name (1) -
original
_ platform (1) -
original
_ platform= (1) - path (1)
-
peer
_ cert (2) -
peer
_ cert _ chain (1) - platform (1)
- platform= (1)
-
public
_ key (1) -
public
_ key= (1) - rakefile (1)
- realm (1)
-
record
_ location (1) -
remove
_ by _ name (1) -
remove
_ spec (1) - replicate (1)
-
require
_ path (1) -
require
_ path= (1) -
require
_ paths (1) -
require
_ paths= (1) -
required
_ ruby _ version (1) -
required
_ ruby _ version= (1) -
required
_ rubygems _ version (1) -
required
_ rubygems _ version= (1) - requirements (1)
- requirements= (1)
-
rubygems
_ version (1) -
rubygems
_ version= (1) - run (1)
-
runtime
_ dependencies (1) - sanitize (1)
-
satisfies
_ requirement? (1) - search (2)
- serial (2)
- serial= (1)
-
server
_ cert (1) - sign (1)
-
signature
_ algorithm (1) -
signing
_ key (1) -
signing
_ key= (1) - source (1)
-
source
_ location (3) - spec (4)
- specification (1)
-
specification
_ version (1) -
specification
_ version= (1) - status (1)
- subject (1)
- subject= (1)
-
subject
_ certificate (1) -
subject
_ certificate= (1) - summary (1)
- summary= (1)
-
sy
_ updateBase (1) -
sy
_ updateBase= (1) -
sy
_ updateFrequency (1) -
sy
_ updateFrequency= (1) -
sy
_ updatePeriod (1) -
sy
_ updatePeriod= (1) - tee (3)
-
test
_ file (1) -
test
_ file= (1) -
test
_ files (1) -
test
_ files= (1) -
test
_ suite _ file (1) -
test
_ suite _ file= (1) -
thread
_ variable _ set (1) -
to
_ a (1) -
to
_ der (1) -
to
_ pem (1) -
to
_ ruby (1) -
to
_ s (5) -
to
_ text (1) -
top
_ level (1) -
top
_ level _ tasks (1) - truncate (13)
-
tty
_ output= (1) - userdb (1)
- validate (1)
- verify (1)
- version (2)
- version= (2)
-
yaml
_ initialize (1) - | (1)
検索結果
先頭5件
-
Enumerable
# all? {|item| . . . } -> bool (22.0) -
すべての要素が真である場合に true を返します。 偽である要素があれば、ただちに false を返します。
すべての要素が真である場合に true を返します。
偽である要素があれば、ただちに false を返します。
ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が真である場合に true を返します。ブロックが偽を返した時点で、
ただちに false を返します。
自身に要素が存在しない場合は true を返します。
@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。
//emlist[例][ruby]{
require 'set'
# すべて正の数か?
p Set[5, 6, 7].all? {|... -
Enumerable
# all?(pattern) -> bool (22.0) -
すべての要素が真である場合に true を返します。 偽である要素があれば、ただちに false を返します。
すべての要素が真である場合に true を返します。
偽である要素があれば、ただちに false を返します。
ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が真である場合に true を返します。ブロックが偽を返した時点で、
ただちに false を返します。
自身に要素が存在しない場合は true を返します。
@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。
//emlist[例][ruby]{
require 'set'
# すべて正の数か?
p Set[5, 6, 7].all? {|... -
Enumerable
# any? -> bool (22.0) -
すべての要素が偽である場合に false を返します。 真である要素があれば、ただちに true を返します。
すべての要素が偽である場合に false を返します。
真である要素があれば、ただちに true を返します。
ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が偽である場合に false を返します。ブロックが真を返した時点
で、ただちに true を返します。
自身に要素が存在しない場合は false を返します。
@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。
//emlist[例][ruby]{
require 'set'
p Set[1, 2, 3].any? {|v| v > 3 } ... -
Enumerable
# any? {|item| . . . } -> bool (22.0) -
すべての要素が偽である場合に false を返します。 真である要素があれば、ただちに true を返します。
すべての要素が偽である場合に false を返します。
真である要素があれば、ただちに true を返します。
ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が偽である場合に false を返します。ブロックが真を返した時点
で、ただちに true を返します。
自身に要素が存在しない場合は false を返します。
@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。
//emlist[例][ruby]{
require 'set'
p Set[1, 2, 3].any? {|v| v > 3 } ... -
Enumerable
# any?(pattern) -> bool (22.0) -
すべての要素が偽である場合に false を返します。 真である要素があれば、ただちに true を返します。
すべての要素が偽である場合に false を返します。
真である要素があれば、ただちに true を返します。
ブロックを伴う場合は、各要素に対してブロックを評価し、すべての結果
が偽である場合に false を返します。ブロックが真を返した時点
で、ただちに true を返します。
自身に要素が存在しない場合は false を返します。
@param pattern ブロックの代わりに各要素に対して pattern === item を評価します。
//emlist[例][ruby]{
require 'set'
p Set[1, 2, 3].any? {|v| v > 3 } ... -
Object
# instance _ variable _ defined?(var) -> bool (22.0) -
インスタンス変数 var が定義されていたら真を返します。
インスタンス変数 var が定義されていたら真を返します。
@param var インスタンス変数名を文字列か Symbol で指定します。
//emlist[][ruby]{
class Fred
def initialize(p1, p2)
@a, @b = p1, p2
end
end
fred = Fred.new('cat', 99)
p fred.instance_variable_defined?(:@a) #=> true
p fred.instance_variable_defined?("@b") #=> true
p fred.instan... -
Shell
# echo(*strings) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
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") >> "al... -
Shell
# glob(pattern) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
... -
Shell
# tee(file) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
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... -
Shell
:: CommandProcessor # echo(*strings) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
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") >> "al... -
Shell
:: CommandProcessor # glob(pattern) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
... -
Shell
:: CommandProcessor # tee(file) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
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... -
Shell
:: Filter # each(rs = nil) -> () (22.0) -
フィルタの一行ずつをblockに渡します。
フィルタの一行ずつをblockに渡します。
@param rs レコードセパレーターを表す文字列を指定します。
nil ならば、Shell.record_separatorの値が使用されます。
使用例
require 'shell'
sh = Shell.new
sh.cat("/etc/passwd").each { |line|
puts line
} -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
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") >> "al... -
Shell
:: Filter # glob(pattern) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
... -
Shell
:: Filter # tee(file) -> Shell :: Filter (22.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
実行すると, それらを内容とする Filter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
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... -
Shell
:: Filter # to _ a -> [String] (22.0) -
実行結果を文字列の配列で返します。
実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a -
Shell
:: Filter # to _ s -> String (22.0) -
実行結果を文字列で返します。
実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}