5956件ヒット
[5901-5956件を表示]
(0.072秒)
別のキーワード
種類
ライブラリ
- English (24)
- ビルトイン (2355)
-
bigdecimal
/ util (7) - csv (84)
- delegate (12)
- e2mmap (54)
- erb (12)
- etc (36)
- fiddle (12)
-
fiddle
/ import (24) - getoptlong (24)
- json (60)
-
json
/ add / complex (12) -
json
/ add / exception (12) -
json
/ add / regexp (12) - logger (1)
-
minitest
/ unit (1) -
mutex
_ m (12) -
net
/ http (48) -
net
/ imap (12) -
net
/ pop (24) - objspace (48)
- openssl (1140)
- optparse (192)
- ostruct (5)
- pp (36)
- psych (55)
- rake (12)
-
rdoc
/ context (48) -
rdoc
/ generator / json _ index (12) -
rdoc
/ markup (24) -
rdoc
/ parser (12) -
rdoc
/ top _ level (48) - resolv (36)
-
rexml
/ streamlistener (12) -
ripper
/ filter (12) -
rubygems
/ digest / digest _ adapter (12) -
rubygems
/ gem _ openssl (12) -
rubygems
/ remote _ fetcher (12) -
rubygems
/ version (12) - set (27)
-
shell
/ command-processor (6) - singleton (12)
- socket (72)
- timeout (29)
- tracer (36)
- tsort (70)
- uri (24)
-
webrick
/ httpauth / authenticator (24) -
webrick
/ httpauth / userdb (12) -
webrick
/ httpresponse (12) -
webrick
/ httpservlet / abstract (72) -
webrick
/ httpservlet / filehandler (12) -
webrick
/ httpstatus (12) -
webrick
/ httputils (96) -
win32
/ registry (84) - win32ole (84)
クラス
-
ARGF
. class (291) - Array (36)
- BasicObject (48)
- CSV (84)
- Class (36)
- Complex (12)
- Data (6)
- Dir (72)
- ERB (12)
-
Enumerator
:: Lazy (6) -
Etc
:: Passwd (24) - Exception (24)
- FalseClass (60)
- File (48)
-
Gem
:: DigestAdapter (12) -
Gem
:: RemoteFetcher (12) -
Gem
:: Version (12) - GetoptLong (24)
- Hash (79)
- IO (48)
- Integer (12)
-
JSON
:: Parser (24) -
JSON
:: State (24) - Method (85)
-
MiniTest
:: Unit :: TestCase (1) - Module (552)
- NameError (10)
-
Net
:: HTTP (24) -
Net
:: HTTPResponse (24) -
Net
:: IMAP (12) -
Net
:: POP3 (24) - NilClass (38)
- Object (372)
-
OpenSSL
:: ASN1 :: ASN1Data (36) -
OpenSSL
:: ASN1 :: BMPString (24) -
OpenSSL
:: ASN1 :: BitString (24) -
OpenSSL
:: ASN1 :: Boolean (24) -
OpenSSL
:: ASN1 :: Enumerated (24) -
OpenSSL
:: ASN1 :: GeneralString (24) -
OpenSSL
:: ASN1 :: GeneralizedTime (24) -
OpenSSL
:: ASN1 :: GraphicString (24) -
OpenSSL
:: ASN1 :: IA5String (24) -
OpenSSL
:: ASN1 :: ISO64String (24) -
OpenSSL
:: ASN1 :: Integer (24) -
OpenSSL
:: ASN1 :: Null (24) -
OpenSSL
:: ASN1 :: NumericString (24) -
OpenSSL
:: ASN1 :: ObjectId (24) -
OpenSSL
:: ASN1 :: OctetString (24) -
OpenSSL
:: ASN1 :: PrintableString (24) -
OpenSSL
:: ASN1 :: Sequence (24) -
OpenSSL
:: ASN1 :: Set (24) -
OpenSSL
:: ASN1 :: T61String (24) -
OpenSSL
:: ASN1 :: UTCTime (24) -
OpenSSL
:: ASN1 :: UTF8String (24) -
OpenSSL
:: ASN1 :: UniversalString (24) -
OpenSSL
:: ASN1 :: VideotexString (24) - OptionParser (192)
- PP (12)
- Proc (26)
-
RDoc
:: Context (48) -
RDoc
:: Generator :: JsonIndex (12) -
RDoc
:: Markup (12) -
RDoc
:: Parser (12) -
RDoc
:: TopLevel (48) - Regexp (24)
-
Resolv
:: DNS (36) - Set (12)
-
Shell
:: CommandProcessor (6) - Socket (36)
- String (12)
- Struct (48)
- Thread (24)
-
Thread
:: Backtrace :: Location (24) - TracePoint (48)
- Tracer (36)
- TrueClass (48)
-
URI
:: Generic (24) - UnboundMethod (24)
-
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
WEBrick
:: HTTPServlet :: FileHandler (12) -
WEBrick
:: HTTPUtils :: FormData (96) -
WIN32OLE
_ TYPE (48) -
WIN32OLE
_ TYPELIB (36) -
Win32
:: Registry (36) -
Win32
:: Registry :: PredefinedKey (12)
モジュール
- Enumerable (48)
- Exception2MessageMapper (54)
-
Fiddle
:: Importer (24) -
Gem
:: SSL (12) - JSON (12)
- Kernel (188)
- Marshal (24)
-
Mutex
_ m (12) - ObjectSpace (144)
-
OpenSSL
:: ASN1 (552) - Psych (19)
-
REXML
:: StreamListener (12) -
Socket
:: Constants (36) - TSort (70)
- Timeout (21)
-
WEBrick
:: HTTPAuth :: Authenticator (12) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (12) -
WEBrick
:: HTTPAuth :: UserDB (12) -
WEBrick
:: HTTPStatus (12) -
Win32
:: Registry :: Constants (36)
キーワード
- != (12)
-
$ ERROR _ INFO (12) -
$ ERROR _ POSITION (12) - & (24)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - < (12)
- << (14)
- <=> (12)
- == (12)
- =~ (7)
- >> (14)
- APOP (12)
- ARGF (12)
- ASN1 (12)
- Application (1)
- AuthException (24)
- BMPString (24)
- BitString (24)
- Boolean (24)
-
CODE
_ CLASS _ TO _ OBJ (12) - Closure (12)
- DelegateClass (12)
- Enumerated (24)
- Fail (12)
- Filter (12)
- GeneralString (24)
- GeneralizedTime (24)
- GraphicString (24)
-
HKEY
_ PERFORMANCE _ DATA (24) -
HKEY
_ PERFORMANCE _ NLSTEXT (24) -
HKEY
_ PERFORMANCE _ TEXT (24) - IA5String (24)
-
IPPROTO
_ TP (24) -
IPV6
_ RECVTCLASS (24) -
IPV6
_ TCLASS (24) - ISO64String (24)
- Integer (24)
- Markup (12)
- Marshal フォーマット (12)
- Method (12)
-
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Null (24)
- Numeric (12)
- NumericString (24)
- ObjectId (24)
- OctetString (24)
- OpenStruct (5)
- Options (12)
-
PASSTHROUGH
_ EXCEPTIONS (1) -
PKEY
_ RSA (12) - Parser (12)
- Passwd (12)
- PrintableString (24)
- Proxy (12)
- Raise (12)
- Requirement (12)
- Ruby プログラムの実行 (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Sequence (24)
- Set (24)
- Singleton (12)
- String (12)
- T61String (24)
- TYPES (12)
- UTCTime (24)
- UTF8String (24)
- UnboundMethod (12)
- UniversalString (24)
- VideotexString (24)
- Visitors (12)
- [] (60)
- ^ (24)
-
_ dump (12) -
absolute
_ path (12) - accept (24)
-
add
_ authenticator (12) -
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ filter (12) -
add
_ module (12) -
add
_ special (12) -
add
_ trace _ func (12) -
all
_ classes _ and _ modules (12) - ancestors (12)
-
append
_ features (24) - arity (24)
-
auth
_ type (12) - autoload (24)
- autoload? (12)
- bind (12)
-
boot
_ defclass (12) -
callee
_ id (12) -
cgi
/ session (12) -
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) - classify (12)
- clone (24)
- codepoints (14)
- component (12)
-
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (24)
-
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ tdata _ objects (12) - coverage (8)
- debug (12)
- decode (12)
-
def
_ builtin _ commands (6) -
def
_ class (12) -
def
_ exception (12) -
default
_ event _ sources (12) -
default
_ port (12) - define (6)
-
define
_ finalizer (24) -
define
_ method (24) -
defined
_ class (12) - display (12)
-
do
_ DELETE (12) -
do
_ GET (12) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (12) -
do
_ PUT (12) -
drb
/ extservm (12) - dump (24)
- dup (24)
- e2mmap (6)
-
each
_ char (24) -
each
_ codepoint (24) -
each
_ data (12) -
each
_ object (48) -
each
_ resource (12) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (23) - eager (6)
- entitydecl (12)
- error (12)
- error? (12)
- extend (12)
- fail (42)
- filename (12)
- filename= (12)
-
find
_ class _ named (12) -
find
_ class _ path (12) -
find
_ local _ symbol (12) -
fixed
_ encoding? (12) -
for
_ fd (12) -
from
_ state (12) - getresource (12)
- getresources (12)
- gets (27)
-
global
_ variables (12) -
http
_ version (12) - include (12)
- include? (12)
-
include
_ class _ new (12) - included (12)
- initialize (12)
-
initialize
_ copy (12) -
inplace
_ mode (12) -
inplace
_ mode= (12) -
ins
_ methods _ priv _ i (12) -
ins
_ methods _ prot _ i (12) - inspect (84)
-
instance
_ eval (24) -
instance
_ methods (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variables (12) - irb (12)
-
irb
/ completion (12) -
is
_ a? (12) -
kind
_ of? (12) - lambda? (12)
- list (12)
-
local
_ variables (12) -
marshal
_ dump (12) - merge (24)
-
method
_ id (12) -
method
_ missing (12) - methods (12)
-
module
_ eval (24) -
module
_ exec (12) - name (24)
- name= (12)
- nesting (12)
- new (744)
-
object
_ group (12) -
ole
_ classes (24) -
ole
_ type (12) -
ole
_ types (12) - on (144)
- open (144)
- parameters (12)
- parse (12)
-
parse
_ files _ matching (12) - path (24)
- pathmap (12)
- pos (12)
- pos= (12)
- pp (12)
- prepend (12)
-
prepend
_ features (12) - prepended (12)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) - print (12)
- printf (12)
- private (48)
-
private
_ class _ method (24) -
private
_ constant (12) -
private
_ method _ defined? (12) -
protected
_ method _ defined? (12) -
proxy
_ class? (12) -
public
_ class _ method (24) -
public
_ constant (12) -
public
_ method (12) -
public
_ method _ defined? (12) - putc (12)
- puts (12)
- raise (36)
-
rake
/ classic _ namespace (12) - rationalize (12)
-
rb
_ catch (12) -
rb
_ class _ boot (12) -
rb
_ class _ inherited (12) -
rb
_ class _ new (12) -
rb
_ class _ path (12) -
rb
_ class _ private _ instance _ methods (12) -
rb
_ class _ protected _ instance _ methods (12) -
rb
_ class _ superclass (12) -
rb
_ define _ class (12) -
rb
_ define _ class _ id (12) -
rb
_ define _ class _ under (12) -
rb
_ frozen _ class _ p (12) -
rb
_ path2class (12) -
rb
_ set _ class _ path (12) -
rb
_ singleton _ class _ new (12) - rdoc (12)
-
rdoc
/ parser (12) -
rdoc
/ parser / c (12) -
reachable
_ objects _ from (12) - read (12)
-
read
_ nonblock (10) - readlines (12)
- readpartial (12)
- receiver (10)
- reject (24)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ handler (12) -
remove
_ instance _ variable (12) - replace (12)
- request (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
safe
_ load (19) - send (24)
-
set
_ encoding (24) -
set
_ get _ line _ procs (24) -
set
_ trace _ func (24) -
singleton
_ methods (12) - skip (12)
-
socket
_ type (12) -
sort
_ by (24) -
strongly
_ connected _ components (12) - struct (12)
-
super
_ method (11) - superclass (24)
-
tag
_ class (12) -
tag
_ class= (12) - tell (12)
- timeout (29)
-
to
_ ary (24) -
to
_ bn (12) -
to
_ c (12) -
to
_ d (7) -
to
_ h (19) -
to
_ hash (12) -
to
_ int (12) -
to
_ json (36) -
to
_ proc (24) -
to
_ regexp (12) -
to
_ s (48) -
to
_ set (24) -
to
_ str (12) -
trace
_ object _ allocations (12) - traverse (12)
- tsort (12)
- uclass (12)
- uclass= (12)
-
undefine
_ finalizer (12) - union (12)
- value (12)
- yaml (12)
-
yaml
_ tag (12) - | (24)
- クラス (12)
- クラス/メソッドの定義 (12)
- パターンマッチ (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
- リテラル (12)
- 制御構造 (12)
- 変数と定数 (12)
- 字句構造 (12)
- 正規表現 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Object
# to _ str -> String (12.0) -
オブジェクトの String への暗黙の変換が必要なときに内部で呼ばれます。 デフォルトでは定義されていません。
...面で代置可能であるような、
* 文字列そのものとみなせるようなもの
という厳しいものになっています。
//emlist[][ruby]{
class Foo
def to_str
'Edition'
end
end
it = Foo.new
p('Second' + it) #=> "SecondEdition"
//}
@see Object#to_s,Kernel.#String... -
REXML
:: StreamListener # entitydecl(content) -> () (12.0) -
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
...@param content 実体宣言が配列で渡されます
実体宣言の書き方によって content に渡されるデータの形式が異なります。
//emlist[][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<!DOCTYPE......open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
]>
<root />
EOS
class......decl(content); p content; end
end
REXML::Parsers::StreamParser.new(xml, Listener.new).parse
# >> ["YN", "\"Yes\"", "%"]
# >> ["YN", "Yes", "%"]
# >> ["WhatHeSaid", "He said %YN;"]
# >> ["open-hatch", "SYSTEM", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
# >> ["open-hatch", "PUBLIC", "-//T... -
Struct
. [](*args) -> Struct (12.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
...(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインス......タンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//}... -
Struct
. new(*args) -> Struct (12.0) -
(このメソッドは Struct の下位クラスにのみ定義されています) 構造体オブジェクトを生成して返します。
...(このメソッドは Struct の下位クラスにのみ定義されています)
構造体オブジェクトを生成して返します。
@param args 構造体の初期値を指定します。メンバの初期値は指定されなければ nil です。
@return 構造体クラスのインス......タンス。
@raise ArgumentError 構造体のメンバの数よりも多くの引数を指定した場合に発生します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
foo = Foo.new(1)
p foo.values # => [1, nil]
//}... -
TSort
# tsort -> Array (12.0) -
頂点をトポロジカルソートして得られる配列を返します。 この配列は子から親に向かってソートされています。 すなわち、最初の要素は子を持たず、最後の要素は親を持ちません。
...発生します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
sorted = {1=>[2, 3], 2=>[3], 3=>[], 4=>[]}.tsort
p sorted #=> [3, 2, 1, 4]
//}
@see TSort.tsort...
