3724件ヒット
[1-100件を表示]
(0.168秒)
ライブラリ
- ビルトイン (2612)
-
bigdecimal
/ util (6) - delegate (11)
- e2mmap (30)
- erb (22)
- etc (22)
-
fiddle
/ import (22) - forwardable (44)
- getoptlong (22)
- json (55)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / rational (11) -
net
/ http (11) - openssl (33)
- optparse (154)
- pp (11)
- rake (44)
-
rdoc
/ code _ object (11) -
rdoc
/ context (66) -
rdoc
/ markup (11) -
rdoc
/ parser (11) -
rdoc
/ stats (22) -
rdoc
/ top _ level (22) - resolv (33)
-
rexml
/ document (22) -
rexml
/ streamlistener (11) -
rubygems
/ remote _ fetcher (11) - set (33)
- timeout (22)
- tsort (64)
- uri (22)
-
webrick
/ httpauth / userdb (11) -
webrick
/ httpservlet / abstract (66) -
webrick
/ httputils (88) -
win32
/ registry (11) - win32ole (55)
クラス
-
ARGF
. class (843) - Array (33)
- BasicObject (88)
- BigDecimal (11)
- Class (69)
- Complex (11)
- ERB (22)
-
Enumerator
:: Lazy (5) -
Etc
:: Passwd (22) - Exception (11)
- FalseClass (55)
-
Gem
:: RemoteFetcher (11) - GetoptLong (22)
- Hash (61)
- Integer (11)
- Method (99)
- Module (604)
-
Net
:: HTTPResponse (11) - NilClass (155)
- Object (286)
-
OpenSSL
:: ASN1 :: ASN1Data (22) - OptionParser (154)
- Proc (23)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (66) -
RDoc
:: Markup (11) -
RDoc
:: Parser (11) -
RDoc
:: Stats (22) -
RDoc
:: TopLevel (22) -
REXML
:: CData (22) - Rational (11)
- Regexp (11)
-
Resolv
:: DNS (33) - Set (11)
- String (11)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) - TracePoint (33)
- TrueClass (55)
-
URI
:: Generic (22) - UnboundMethod (22)
-
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPUtils :: FormData (88) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (22) -
WIN32OLE
_ TYPELIB (22) -
Win32
:: Registry :: PredefinedKey (11)
モジュール
- Enumerable (154)
- Exception2MessageMapper (30)
-
Fiddle
:: Importer (22) - Forwardable (44)
-
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (33)
-
REXML
:: StreamListener (11) -
Rake
:: TaskManager (22) - TSort (64)
-
WEBrick
:: HTTPAuth :: UserDB (11)
キーワード
- ! (11)
- != (11)
- & (33)
- < (11)
- << (12)
- <=> (11)
- == (22)
- === (11)
- =~ (6)
- >> (12)
- DelegateClass (11)
- Fail (6)
- Raise (6)
- [] (11)
- ^ (33)
-
_ dump (11) -
_ load (11) -
absolute
_ path (11) - accept (11)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ module (11) -
add
_ special (11) - allocate (11)
- ancestors (11)
-
append
_ features (11) - argv (11)
- attr (9)
-
attr
_ accessor (3) -
attr
_ reader (3) -
attr
_ writer (3) -
auth
_ type (11) - autoload (11)
- backtrace (11)
-
base
_ label (11) - binmode (11)
- binmode? (11)
- bytes (14)
- call (22)
-
callee
_ id (11) - chars (14)
-
class
_ eval (22) -
class
_ exec (11) -
class
_ variable _ defined? (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) - classes (11)
- classify (11)
- clone (33)
- close (11)
- closed? (11)
- codepoints (14)
- component (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ missing (11) -
const
_ source _ location (5) - constants (11)
-
def
_ class (11) -
def
_ delegator (11) -
def
_ exception (6) -
def
_ instance _ delegator (11) -
def
_ module (11) -
default
_ event _ sources (11) -
default
_ port (11) -
define
_ method (22) -
define
_ singleton _ method (22) -
define
_ task (11) -
defined
_ class (11) - delegate (11)
- display (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - dup (22)
- each (44)
-
each
_ byte (22) -
each
_ char (22) -
each
_ classmodule (11) -
each
_ codepoint (22) -
each
_ data (11) -
each
_ entry (22) -
each
_ line (44) -
each
_ resource (11) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) - eager (5)
- entitydecl (11)
- eof (11)
- eof? (11)
- error (11)
- error? (11)
- extend (11)
-
external
_ encoding (11) - fail (6)
- file (11)
- filename (22)
- filename= (11)
- fileno (11)
-
find
_ local _ symbol (11) -
fixed
_ encoding? (11) - getbyte (11)
- getc (11)
- getresource (11)
- getresources (11)
- gets (33)
- handler= (11)
- include (11)
- include? (11)
- included (11)
- inherited (11)
- initialize (11)
-
initialize
_ classes _ and _ modules (11) -
initialize
_ copy (11) -
inplace
_ mode (11) -
inplace
_ mode= (11) - inspect (55)
-
instance
_ delegate (11) -
instance
_ eval (22) -
instance
_ method (11) -
instance
_ methods (11) -
instance
_ of? (11) -
instance
_ variable _ defined? (11) -
instance
_ variable _ get (11) -
instance
_ variables (11) - intern (11)
-
internal
_ encoding (11) -
is
_ a? (11) -
json
_ creatable? (11) -
kind
_ of? (11) - lambda? (11)
- lineno (11)
- lineno= (11)
- lines (42)
- list (11)
-
marshal
_ dump (11) -
marshal
_ load (11) - max (44)
- merge (11)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ removed (11) -
method
_ undefined (11) - methods (11)
- min (44)
-
module
_ eval (22) -
module
_ exec (11) - name (33)
- name= (11)
- new (11)
- nil? (11)
-
num
_ classes (11) -
num
_ classes= (11) -
ole
_ classes (11) -
ole
_ type (11) -
ole
_ types (11) - on (132)
-
original
_ name (22) - owner (22)
-
parse
_ files _ matching (11) - path (11)
- pathmap (11)
- pos (11)
- pos= (11)
- prepend (11)
-
prepend
_ features (11) - prepended (11)
-
pretty
_ print _ cycle (11) - print (11)
- printf (11)
- private (23)
-
private
_ class _ method (15) -
private
_ constant (11) -
private
_ method _ defined? (11) -
protected
_ method _ defined? (11) -
public
_ class _ method (15) -
public
_ constant (11) -
public
_ method (11) -
public
_ method _ defined? (11) - putc (11)
- puts (11)
-
rake
_ extension (11) - rationalize (22)
- read (11)
-
read
_ nonblock (11) - readbyte (11)
- readchar (11)
- readline (33)
- readlines (33)
- readpartial (11)
- refine (11)
- reject (11)
-
remove
_ class _ variable (11) -
remove
_ classes _ and _ modules (11) -
remove
_ const (11) -
remove
_ instance _ variable (11) -
remove
_ method (11) - replace (11)
- request (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (11) - rewind (11)
- seek (11)
-
set
_ encoding (33) -
set
_ trace _ func (11) -
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - skip (11)
-
sort
_ by (22) -
source
_ location (11) -
strongly
_ connected _ components (11) - struct (11)
- subclasses (3)
-
super
_ method (10) - superclass (11)
-
tag
_ class (11) -
tag
_ class= (11) - tell (11)
- timeout (22)
-
to
_ a (44) -
to
_ ary (22) -
to
_ bn (11) -
to
_ c (11) -
to
_ d (6) -
to
_ f (11) -
to
_ h (28) -
to
_ i (22) -
to
_ io (11) -
to
_ json (77) -
to
_ r (11) -
to
_ s (77) -
to
_ set (22) -
to
_ write _ io (11) -
tsort
_ each (11) - uclass (11)
- uclass= (11)
-
undef
_ method (11) - union (11)
- value (22)
- write (11)
- | (33)
検索結果
先頭5件
-
Object
# class -> Class (24457.0) -
レシーバのクラスを返します。
...レシーバのクラスを返します。
//emlist[][ruby]{
p "ruby".class #=> String
p 100.class #=> Integer
p ARGV.class #=> Array
p self.class #=> Object
p Class.class #=> Class
p Kernel.class #=> Module
//}
@see Class#superclass,Object#kind_of?,Object#instance_of?... -
Class
# subclasses -> [Class] (24432.0) -
自身が直接のスーパークラスになっている(特異クラスを除く)クラスの配列を返します。 返り値の配列の順序は未定義です。
...を除く)クラスの配列を返します。
返り値の配列の順序は未定義です。
//emlist[例][ruby]{
class A; end
class B < A; end
class C < B; end
class D < A; end
A.subclasses # => [D, B]
B.subclasses # => [C]
C.subclasses # => []
//}
@see Class#superclass... -
Class
# superclass -> Class | nil (24420.0) -
自身のスーパークラスを返します。
...ます。
//emlist[例][ruby]{
File.superclass #=> IO
IO.superclass #=> Object
class Foo; end
class Bar < Foo; end
Bar.superclass #=> Foo
Object.superclass #=> BasicObject
//}
ただし BasicObject.superclass は nil を返します。
//emlist[例][ruby]{
Bas......icObject.superclass #=> nil
//}......icObject.superclass #=> nil
//}
@see Class#subclasses... -
Win32
:: Registry :: PredefinedKey # class (24202.0) -
@todo
@todo -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (16009.0) -
collection に name で指定したクラス、モジュールを追加します。
...collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、......RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param superclass 追加するクラスの親クラスを RDoc::NormalClass オ
ブジェ... -
WIN32OLE
_ TYPELIB # ole _ classes -> [WIN32OLE _ TYPE] (15301.0) -
TypeLibに格納されているすべての型を取得します。
...TypeLibに格納されているすべての型を取得します。
TypeLibに格納されている型には、クラス(CoClass——コンポーネントクラス)
やEnum(列挙子)、構造体などがあります。
@return TypeLibに格納されているすべての型をWIN32OLE_TY......PEオブジェ
クトの配列として返します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
classes = tlib.ole_types.map{|k| k.name} # => ["Adjustments", "CalloutFormat", ...]... -
Module
# class _ variable _ defined?(name) -> bool (15232.0) -
name で与えられた名前のクラス変数がモジュールに存在する場合 true を 返します。
...name Symbol か String を指定します。
//emlist[例][ruby]{
class Fred
@@foo = 99
end
Fred.class_variable_defined?(:@@foo) #=> true
Fred.class_variable_defined?(:@@bar) #=> false
Fred.class_variable_defined?('@@foo') #=> true
Fred.class_variable_defined?('@@bar') #=> false
//}... -
Module
# class _ variables(inherit = true) -> [Symbol] (15232.0) -
クラス/モジュールに定義されているクラス変数の名前の配列を返します。
...rit false を指定しない場合はスーパークラスやインクルードして
いるモジュールのクラス変数を含みます。
//emlist[例][ruby]{
class One
@@var1 = 1
end
class Two < One
@@var2 = 2
end
One.class_variables # => [:@@var1]
Two.class_variables......# => [:@@var2, :@@var1]
Two.class_variables(false) # => [:@@var2]
//}
@see Module.constants, Kernel.#local_variables, Kernel.#global_variables, Object#instance_variables, Module#constants... -
Module
# singleton _ class? -> bool (15226.0) -
self が特異クラスの場合に true を返します。そうでなければ false を返し ます。
...self が特異クラスの場合に true を返します。そうでなければ false を返し
ます。
//emlist[例][ruby]{
class C
end
C.singleton_class? # => false
C.singleton_class.singleton_class? # => true
//}... -
Module
# remove _ class _ variable(name) -> object (15220.0) -
引数で指定したクラス変数を取り除き、そのクラス変数に設定さ れていた値を返します。
...ymbol を指定します。
@return 引数で指定されたクラス変数に設定されていた値を返します。
@raise NameError 引数で指定されたクラス変数がそのモジュールやクラスに定義されていない場合に発生します。
//emlist[例][ruby]{
class Fo......o
@@foo = 1
remove_class_variable(:@@foo) # => 1
p @@foo # => uninitialized class variable @@foo in Foo (NameError)
end
//}
@see Module#remove_const, Object#remove_instance_variable...