2719件ヒット
[101-200件を表示]
(0.116秒)
別のキーワード
ライブラリ
- ビルトイン (1749)
-
bigdecimal
/ util (7) - delegate (12)
- e2mmap (30)
- erb (12)
- etc (24)
-
fiddle
/ import (24) - getoptlong (24)
- json (12)
-
json
/ add / complex (12) -
json
/ add / exception (12) -
json
/ add / regexp (12) -
net
/ http (12) - openssl (36)
- optparse (168)
- pp (36)
- rake (12)
-
rdoc
/ context (36) -
rdoc
/ markup (12) -
rdoc
/ parser (12) -
rdoc
/ top _ level (24) - resolv (36)
-
rexml
/ streamlistener (12) -
rubygems
/ remote _ fetcher (12) - set (27)
- timeout (8)
- tsort (70)
- uri (24)
-
webrick
/ httpauth / userdb (12) -
webrick
/ httpresponse (12) -
webrick
/ httpservlet / abstract (72) -
webrick
/ httputils (96) -
win32
/ registry (12) - win32ole (48)
クラス
-
ARGF
. class (291) - Array (24)
- BasicObject (48)
- Class (12)
- Complex (12)
- ERB (12)
-
Enumerator
:: Lazy (6) -
Etc
:: Passwd (24) - Exception (24)
- FalseClass (60)
-
Gem
:: RemoteFetcher (12) - GetoptLong (24)
- Hash (79)
- Integer (12)
-
JSON
:: Parser (12) - Method (85)
- Module (528)
- NameError (10)
-
Net
:: HTTPResponse (12) - NilClass (38)
- Object (360)
-
OpenSSL
:: ASN1 :: ASN1Data (24) - OptionParser (168)
- PP (12)
- Proc (26)
-
RDoc
:: Context (36) -
RDoc
:: Markup (12) -
RDoc
:: Parser (12) -
RDoc
:: TopLevel (24) - Regexp (24)
-
Resolv
:: DNS (36) - Set (12)
- String (12)
- Thread (24)
-
Thread
:: Backtrace :: Location (24) - TracePoint (36)
- TrueClass (48)
-
URI
:: Generic (24) - UnboundMethod (24)
-
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (72) -
WEBrick
:: HTTPUtils :: FormData (96) -
WIN32OLE
_ TYPE (24) -
WIN32OLE
_ TYPELIB (24) -
Win32
:: Registry :: PredefinedKey (12)
モジュール
- Enumerable (48)
- Exception2MessageMapper (30)
-
Fiddle
:: Importer (24) - Kernel (20)
-
REXML
:: StreamListener (12) - TSort (70)
-
WEBrick
:: HTTPAuth :: UserDB (12)
キーワード
- != (12)
- & (24)
- < (12)
- << (14)
- <=> (12)
- == (12)
- =~ (7)
- >> (14)
- DelegateClass (12)
- Fail (6)
- Raise (6)
- [] (12)
- ^ (24)
-
_ dump (12) -
absolute
_ path (12) - accept (12)
-
add
_ class (12) -
add
_ class _ or _ module (24) -
add
_ module (12) -
add
_ special (12) -
add
_ trace _ func (12) - ancestors (12)
-
append
_ features (12) - arity (24)
-
auth
_ type (12) - autoload (12)
- bind (12)
-
callee
_ id (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 (12)
-
def
_ class (12) -
def
_ exception (6) -
default
_ event _ sources (12) -
default
_ port (12) -
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) - dup (24)
-
each
_ char (24) -
each
_ codepoint (24) -
each
_ data (12) -
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 (6)
- filename (12)
- filename= (12)
-
find
_ local _ symbol (12) -
fixed
_ encoding? (12) - getresource (12)
- getresources (12)
- gets (27)
-
http
_ version (12) - include (12)
- include? (12)
- included (12)
- initialize (12)
-
initialize
_ copy (12) -
inplace
_ mode (12) -
inplace
_ mode= (12) - inspect (84)
-
instance
_ eval (24) -
instance
_ methods (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variables (12) -
is
_ a? (12) -
kind
_ of? (12) - lambda? (12)
- list (12)
-
marshal
_ dump (12) - merge (24)
-
method
_ id (12) -
method
_ missing (12) - methods (12)
-
module
_ eval (24) -
module
_ exec (12) - name (24)
- name= (12)
-
object
_ group (12) -
ole
_ classes (12) -
ole
_ type (12) -
ole
_ types (12) - on (144)
- parameters (12)
- parse (12)
-
parse
_ files _ matching (12) - path (12)
- pathmap (12)
- pos (12)
- pos= (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) -
public
_ class _ method (24) -
public
_ constant (12) -
public
_ method (12) -
public
_ method _ defined? (12) - putc (12)
- puts (12)
- rationalize (12)
-
read
_ nonblock (10) - readpartial (12)
- receiver (10)
- reject (12)
-
remove
_ class _ variable (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) - replace (12)
- request (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (12) - send (24)
-
set
_ encoding (24) -
set
_ trace _ func (12) -
singleton
_ methods (12) - skip (12)
-
sort
_ by (24) -
strongly
_ connected _ components (12) - struct (12)
-
super
_ method (11) - superclass (12)
-
tag
_ class (12) -
tag
_ class= (12) - tell (12)
- timeout (8)
-
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) - tsort (12)
- uclass (12)
- uclass= (12)
- union (12)
- value (12)
- | (24)
検索結果
先頭5件
- Object
# pretty _ print _ cycle(pp) -> () - RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule - Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class - TracePoint
# defined _ class -> Class | module - OpenSSL
:: ASN1 :: ASN1Data # tag _ class=(tag _ class)
-
Object
# pretty _ print _ cycle(pp) -> () (12207.0) -
プリティプリント時にオブジェクトの循環参照が検出された場合、 Object#pretty_print の代わりに呼ばれるメソッドです。
...Object#pretty_print の代わりに呼ばれるメソッドです。
あるクラスの pp の出力をカスタマイズしたい場合は、
このメソッドも再定義する必要があります。
@param pp PP オブジェクトです。
//emlist[][ruby]{
class Array
def pretty_print_cy......cle(q)
q.text(empty? ? '[]' : '[...]')
end
end
//}
@see Object#pretty_print... -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (9709.0) -
collection に name で指定したクラス、モジュールを追加します。
...を追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ......ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass オ
ブジェクトで指定します。
既に登録済みであった場合... -
Exception2MessageMapper
# def _ exception(exception _ name , message _ format , superclass = StandardError) -> Class (9402.0) -
exception_name という名前の例外クラスを定義します。
...exception_name という名前の例外クラスを定義します。
@param exception_name 定義する例外クラスの名前をシンボルで指定します。
@param message_format メッセージのフォーマット。
@param superclass 定義する例外のスーパークラスを指定... -
TracePoint
# defined _ class -> Class | module (9269.0) -
メソッドを定義したクラスかモジュールを返します。
...メソッドを定義したクラスかモジュールを返します。
//emlist[例][ruby]{
class C; def foo; end; end
trace = TracePoint.new(:call) do |tp|
p tp.defined_class # => C
end.enable do
C.new.foo
end
//}
メソッドがモジュールで定義されていた場合も(include に......//emlist[例][ruby]{
module M; def foo; end; end
class C; include M; end;
trace = TracePoint.new(:call) do |tp|
p tp.defined_class # => M
end.enable do
C.new.foo
end
//}
[注意] 特異メソッドを実行した場合は TracePoint#defined_class は特異クラ
スを返します。また、K......はなく元のクラスを返します。
//emlist[例][ruby]{
class C; def self.foo; end; end
trace = TracePoint.new(:call) do |tp|
p tp.defined_class # => #<Class:C>
end.enable do
C.foo
end
//}
Kernel.#set_trace_func と TracePoint の上記の差分に注意して
ください。
@see 508... -
OpenSSL
:: ASN1 :: ASN1Data # tag _ class=(tag _ class) (9215.0) -
タグクラスを設定します。
...タグクラスを設定します。
@param tag_class 設定するタグクラス。:UNIVERSAL、:ONTEXT_SPECIFIC、:APPLICATION、:PRIVATE のいずれか
@see OpenSSL::ASN1::ASN1Data#tag_class... -
Etc
:: Passwd # uclass=(class) (9202.0) -
ユーザアクセスクラス(文字列)を設定します。このメンバはシステム依存です。
ユーザアクセスクラス(文字列)を設定します。このメンバはシステム依存です。 -
WIN32OLE
_ TYPELIB # ole _ classes -> [WIN32OLE _ TYPE] (9201.0) -
TypeLibに格納されているすべての型を取得します。
...ypeLibに格納されているすべての型を取得します。
TypeLibに格納されている型には、クラス(CoClass——コンポーネントクラス)
やEnum(列挙子)、構造体などがあります。
@return TypeLibに格納されているすべての型をWIN32OLE_TYPE......オブジェ
クトの配列として返します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
classes = tlib.ole_types.map{|k| k.name} # => ["Adjustments", "CalloutFormat", ...]... -
WIN32OLE
_ TYPELIB # ole _ types -> [WIN32OLE _ TYPE] (9201.0) -
TypeLibに格納されているすべての型を取得します。
...ypeLibに格納されているすべての型を取得します。
TypeLibに格納されている型には、クラス(CoClass——コンポーネントクラス)
やEnum(列挙子)、構造体などがあります。
@return TypeLibに格納されているすべての型をWIN32OLE_TYPE......オブジェ
クトの配列として返します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
classes = tlib.ole_types.map{|k| k.name} # => ["Adjustments", "CalloutFormat", ...]... -
ARGF
. class # readpartial(maxlen , outbuf = nil) -> String (9123.0) -
IO#readpartialを参照。ARGF.class#read などとは違って複数ファ イルを同時に読み込むことはありません。
...IO#readpartialを参照。ARGF.class#read などとは違って複数ファ
イルを同時に読み込むことはありません。
@param maxlen 読み込む長さの上限を整数で指定します。
@param outbuf 読み込んだデータを格納する String オブジェクトを指定し......ます。
@see IO#readpartial, ARGF.class#read_nonblock... -
JSON
:: Parser # parse -> object (9119.0) -
現在のソースをパースして結果を Ruby のオブジェクトとして返します。
...][ruby]{
require 'json'
class Person
attr_accessor :name, :age
def []=(key, value)
instance_variable_set("@#{key}", value)
end
end
parser = JSON::Parser.new(DATA.read, object_class: Person)
person = parser.parse
person.class # => Person
person.name # => "tanaka"
person.age # => 20
_......_END__
{
"name":"tanaka",
"age":20
}
//}
@see JSON::Parser#source...