ライブラリ
- ビルトイン (8)
- drb (2)
- etc (2)
- json (3)
-
net
/ http (10) -
net
/ pop (3) -
net
/ protocol (1) -
net
/ smtp (1) - openssl (1)
- psych (4)
- rake (1)
-
rdoc
/ alias (1) -
rdoc
/ code _ object (1) -
rubygems
/ requirement (1) -
rubygems
/ source _ index (1) - timeout (1)
キーワード
- APOPSession (1)
- BadAlias (1)
- Bignum (1)
- Cache (1)
- CodeObject (1)
- ConditionVariable (2)
- DRbIdConv (1)
- DRbObject (1)
- FileList (1)
- Fixnum (1)
- Group (1)
- HTTPClientException (1)
- HTTPGatewayTimeOut (1)
- HTTPMovedTemporarily (1)
- HTTPMultipleChoice (1)
- HTTPRequestEntityTooLarge (1)
- HTTPRequestTimeOut (1)
- HTTPRequestURITooLarge (1)
- HTTPRequestURITooLong (1)
- HTTPRequestedRangeNotSatisfiable (1)
- HTTPSession (1)
- Mapping (1)
- Mutex (1)
- POP (1)
- POPSession (1)
- Parser (1)
- Passwd (1)
- ProtocRetryError (1)
- Queue (1)
- Requirement (1)
- SMTPSession (1)
- Sequence (1)
- Signer (1)
- SizedQueue (1)
- State (1)
- TimeoutError (1)
- UnboundMethod (1)
- UnparserError (1)
検索結果
-
Psych
:: Nodes :: Alias (54118.0) -
YAML の alias http://yaml.org/spec/1.1/#alias を表すクラス。
YAML の alias http://yaml.org/spec/1.1/#alias を表すクラス。
anchor で別の YAML の要素を指します。
alias は YAML の AST の葉のノードであり、子ノードを持ちません。 -
RDoc
:: Alias (54052.0) -
aliasされたメソッドを表現するクラスです。
aliasされたメソッドを表現するクラスです。
ライブラリの内部で使用します。 -
Psych
:: BadAlias (18052.0) -
YAML の alias が不正である(本体が見つからない)というエラーを表す例外です。
YAML の alias が不正である(本体が見つからない)というエラーを表す例外です。 -
Bignum (52.0)
-
Alias of Integer
Alias of Integer -
ConditionVariable (52.0)
-
Alias of Thread::ConditionVariable
Alias of Thread::ConditionVariable -
DRbIdConv (52.0)
-
Alias of DRb::DRbIdConv
Alias of DRb::DRbIdConv -
DRbObject (52.0)
-
Alias of DRb::DRbObject
Alias of DRb::DRbObject -
FileList (52.0)
-
Alias of Rake::FileList
Alias of Rake::FileList -
Fixnum (52.0)
-
Alias of Integer
Alias of Integer -
Gem
:: Cache (52.0) -
Alias of Gem::SourceIndex
Alias of Gem::SourceIndex -
Gem
:: Version :: Requirement (52.0) -
Alias of Gem::Requirement
Alias of Gem::Requirement -
HTTPSession (52.0)
-
Alias of Net::HTTP
Alias of Net::HTTP -
JSON
:: Ext :: Generator :: State (52.0) -
Alias of JSON::State
Alias of JSON::State -
JSON
:: Ext :: Parser (52.0) -
Alias of JSON::Parser
Alias of JSON::Parser -
JSON
:: UnparserError (52.0) -
Alias of JSON::GeneratorError
Alias of JSON::GeneratorError -
Mutex (52.0)
-
Alias of Thread::Mutex
Alias of Thread::Mutex -
Net
:: APOPSession (52.0) -
Alias of Net::APOP
Alias of Net::APOP -
Net
:: HTTPClientException (52.0) -
Alias of Net::HTTPServerException
Alias of Net::HTTPServerException -
Net
:: HTTPGatewayTimeOut (52.0) -
Alias of Net::HTTPGatewayTimeout
Alias of Net::HTTPGatewayTimeout -
Net
:: HTTPMovedTemporarily (52.0) -
Alias of Net::HTTPFound
Alias of Net::HTTPFound -
Net
:: HTTPMultipleChoice (52.0) -
Alias of Net::HTTPMultipleChoices
Alias of Net::HTTPMultipleChoices -
Net
:: HTTPRequestEntityTooLarge (52.0) -
Alias of Net::HTTPPayloadTooLarge
Alias of Net::HTTPPayloadTooLarge -
Net
:: HTTPRequestTimeOut (52.0) -
Alias of Net::HTTPRequestTimeout
Alias of Net::HTTPRequestTimeout -
Net
:: HTTPRequestURITooLarge (52.0) -
Alias of Net::HTTPURITooLong
Alias of Net::HTTPURITooLong -
Net
:: HTTPRequestURITooLong (52.0) -
Alias of Net::HTTPURITooLong
Alias of Net::HTTPURITooLong -
Net
:: HTTPRequestedRangeNotSatisfiable (52.0) -
Alias of Net::HTTPRangeNotSatisfiable
Alias of Net::HTTPRangeNotSatisfiable -
Net
:: POP (52.0) -
Alias of Net::POP3
Alias of Net::POP3 -
Net
:: POPSession (52.0) -
Alias of Net::POP3
Alias of Net::POP3 -
Net
:: ProtocRetryError (52.0) -
Alias of Net::ProtoRetriableError
Alias of Net::ProtoRetriableError -
Net
:: SMTPSession (52.0) -
Alias of Net::SMTP
Alias of Net::SMTP -
OpenSSL
:: PKCS7 :: Signer (52.0) -
Alias of OpenSSL::PKCS7::SignerInfo
Alias of OpenSSL::PKCS7::SignerInfo -
Queue (52.0)
-
Alias of Thread::Queue
Alias of Thread::Queue -
SizedQueue (52.0)
-
Alias of Thread::SizedQueue
Alias of Thread::SizedQueue -
Struct
:: Group (52.0) -
Alias of Etc::Group
Alias of Etc::Group -
Struct
:: Passwd (52.0) -
Alias of Etc::Passwd
Alias of Etc::Passwd -
TimeoutError (52.0)
-
Alias of Timeout::Error
Alias of Timeout::Error -
Thread
:: ConditionVariable (40.0) -
スレッドの同期機構の一つである状態変数を実現するクラスです。
...が空になった場合、
あるいは満タンになった場合に Condition Variable を使って wait しています。
require 'thread'
class TinyQueue
def initialize(max=2)
@max = max
@full = ConditionVariable.new
@empty = ConditionVariable.new
@mutex = Mut... -
Psych
:: Nodes :: Mapping (22.0) -
YAML の mapping http://yaml.org/spec/1.1/#mapping を表すクラスです。
YAML の mapping http://yaml.org/spec/1.1/#mapping を表すクラスです。
Psych::Nodes::Mapping は 0 個以上の子ノードを持つことができます。
子ノードの個数は偶数でなければなりません。
子ノードは以下のいずれかクラスのインスタンスでなければなりません。
* Psych::Nodes::Sequence
* Psych::Nodes::Mapping
* Psych::Nodes::Scalar
* Psych::Nodes::Alias
子ノードは mapping のキーと値が交互に並んでいます。
as... -
Psych
:: Nodes :: Sequence (22.0) -
YAML sequence http://yaml.org/spec/1.1/#sequence/syntax を表すクラスです。
YAML sequence http://yaml.org/spec/1.1/#sequence/syntax を表すクラスです。
YAML sequence とは基本的にはリスト、配列です。以下のような例が考えられます。
%YAML 1.1
---
- I am
- a Sequence
YAML sequence には anchor を付加することができます。
この例では Psych::Nodes::Sequence#anchor は "A" を返します。
%YAML 1.1
---
&A [
"This sequence",
"has an... -
RDoc
:: CodeObject (22.0) -
RDoc のコードツリーを表現するクラスの基本クラスです。
...ブクラスのツリーです。
//emlist{
* RDoc::Context
* RDoc::TopLevel
* RDoc::ClassModule
* RDoc::AnonClass
* RDoc::NormalClass
* RDoc::NormalModule
* RDoc::SingleClass
* RDoc::AnyMethod
* RDoc::GhostMethod
* RDoc::MetaMethod
* RDoc::Alias
* RDoc::Attr
*... -
UnboundMethod (22.0)
-
レシーバを持たないメソッドを表すクラスです。 呼び出すためにはレシーバにバインドする必要があります。
...とができます。
//emlist[例: Method クラスの冒頭にある例を UnboundMethod で書くと以下のようになります。][ruby]{
class Foo
def foo() "foo" end
def bar() "bar" end
def baz() "baz" end
end
# 任意のキーとメソッドの関係をハッシュに保持して......mlist[例: 以下はメソッドの再定義を UnboundMethod を使って行う方法です。普通は alias や super を使います。][ruby]{
class Foo
def foo
p :foo
end
@@orig_foo = instance_method :foo
def foo
p :bar
@@orig_foo.bind(self).call
end
end
Foo.new.foo
# =...