4277件ヒット
[1-100件を表示]
(0.215秒)
ライブラリ
- ビルトイン (1953)
- csv (66)
- e2mmap (54)
- erb (22)
-
fiddle
/ import (22) - forwardable (33)
-
irb
/ extend-command (11) - json (44)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / rational (11) - logger (1)
-
mutex
_ m (11) -
net
/ http (11) -
net
/ pop (11) - objspace (33)
- openssl (880)
- optparse (176)
- pp (11)
- psych (17)
- rake (33)
-
rdoc
/ context (44) -
rdoc
/ markup (11) -
rdoc
/ parser (11) -
rdoc
/ top _ level (22) -
rexml
/ document (22) -
rexml
/ streamlistener (11) -
rubygems
/ ext / builder (11) -
rubygems
/ gem _ openssl (11) -
rubygems
/ remote _ fetcher (11) -
shell
/ command-processor (6) - socket (44)
- thread (2)
- timeout (35)
- tracer (55)
- tsort (43)
- uri (22)
-
webrick
/ httpservlet / abstract (66) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httpstatus (11) -
webrick
/ httputils (55) -
win32
/ registry (209) - win32ole (88)
クラス
-
ARGF
. class (581) - BasicObject (88)
- BigDecimal (11)
- CSV (66)
- Class (14)
- Complex (11)
- Data (4)
- Dir (33)
- ERB (11)
-
Enumerator
:: Lazy (11) - Exception (11)
- File (55)
-
Gem
:: Ext :: Builder (11) -
Gem
:: RemoteFetcher (11) - Integer (11)
- Method (32)
- Module (424)
-
Net
:: HTTPResponse (11) -
Net
:: POP3 (11) - NilClass (61)
- Object (242)
-
OpenSSL
:: ASN1 :: BMPString (22) -
OpenSSL
:: ASN1 :: BitString (22) -
OpenSSL
:: ASN1 :: Boolean (11) -
OpenSSL
:: ASN1 :: Enumerated (11) -
OpenSSL
:: ASN1 :: GeneralString (22) -
OpenSSL
:: ASN1 :: GeneralizedTime (22) -
OpenSSL
:: ASN1 :: GraphicString (22) -
OpenSSL
:: ASN1 :: IA5String (22) -
OpenSSL
:: ASN1 :: ISO64String (22) -
OpenSSL
:: ASN1 :: Integer (22) -
OpenSSL
:: ASN1 :: Null (11) -
OpenSSL
:: ASN1 :: NumericString (22) -
OpenSSL
:: ASN1 :: ObjectId (22) -
OpenSSL
:: ASN1 :: OctetString (22) -
OpenSSL
:: ASN1 :: PrintableString (22) -
OpenSSL
:: ASN1 :: Sequence (11) -
OpenSSL
:: ASN1 :: Set (11) -
OpenSSL
:: ASN1 :: T61String (22) -
OpenSSL
:: ASN1 :: UTCTime (22) -
OpenSSL
:: ASN1 :: UTF8String (22) -
OpenSSL
:: ASN1 :: UniversalString (22) -
OpenSSL
:: ASN1 :: VideotexString (22) - OptionParser (176)
-
RDoc
:: Context (44) -
RDoc
:: Markup (11) -
RDoc
:: Parser (11) -
RDoc
:: TopLevel (22) -
REXML
:: CData (22) - Range (11)
- Rational (11)
-
Shell
:: CommandProcessor (6) - Socket (22)
- Struct (14)
- Thread (11)
-
Thread
:: Backtrace :: Location (44) - TracePoint (33)
- Tracer (55)
-
URI
:: Generic (22) - UnboundMethod (11)
-
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPUtils :: FormData (55) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (44) -
WIN32OLE
_ TYPELIB (33) -
Win32
:: Registry (99) -
Win32
:: Registry :: PredefinedKey (11)
モジュール
-
ERB
:: DefMethod (11) - Enumerable (88)
- Exception2MessageMapper (54)
-
Fiddle
:: Importer (22) - Forwardable (33)
-
Gem
:: SSL (11) -
IRB
:: ExtendCommandBundle (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (137)
- Marshal (22)
-
Mutex
_ m (11) - ObjectSpace (77)
-
OpenSSL
:: ASN1 (440) - Psych (17)
-
REXML
:: StreamListener (11) -
Rake
:: TaskManager (22) -
Socket
:: Constants (22) - TSort (43)
- Timeout (19)
-
WEBrick
:: HTTPStatus (11) -
Win32
:: Registry :: Constants (99)
キーワード
- ! (11)
- != (11)
- & (11)
- < (11)
- <=> (11)
- == (22)
- === (11)
- =~ (6)
- APOP (11)
- Application (1)
- BMPString (22)
- BitString (22)
- Boolean (11)
- ConditionVariable (11)
-
DIGEST
_ SHA1 (11) - Enumerated (11)
- Fail (12)
- GeneralString (22)
- GeneralizedTime (22)
- GraphicString (22)
-
HKEY
_ CLASSES _ ROOT (22) -
HKEY
_ CURRENT _ CONFIG (22) -
HKEY
_ CURRENT _ USER (22) -
HKEY
_ DYN _ DATA (22) -
HKEY
_ LOCAL _ MACHINE (22) -
HKEY
_ PERFORMANCE _ DATA (22) -
HKEY
_ PERFORMANCE _ NLSTEXT (22) -
HKEY
_ PERFORMANCE _ TEXT (22) -
HKEY
_ USERS (22) - IA5String (22)
-
IPV6
_ RECVTCLASS (22) -
IPV6
_ TCLASS (22) - ISO64String (22)
- Integer (22)
- Location (11)
- Marshal フォーマット (11)
- Null (11)
- NumericString (22)
- ObjectId (22)
- OctetString (22)
- PrintableString (22)
- Raise (12)
- Ruby用語集 (11)
- Sequence (11)
- Set (11)
- String (11)
- T61String (22)
- UTCTime (22)
- UTF8String (22)
- UniversalString (22)
- VideotexString (22)
- [] (22)
- ^ (11)
-
_ dump (11) -
absolute
_ path (11) - accept (22)
-
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ filter (22) -
add
_ module (11) -
add
_ special (11) -
append
_ features (11) -
attr
_ writer (3) - autoload (22)
- autoload? (11)
-
base
_ label (11) - binmode (11)
- binmode? (11)
-
callee
_ id (11) -
class
_ eval (11) -
class
_ name (11) -
class
_ variable _ defined? (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) - component (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ missing (11) -
const
_ source _ location (5) - constants (11)
-
count
_ objects _ size (11) -
count
_ tdata _ objects (11) -
def
_ builtin _ commands (6) -
def
_ delegator (11) -
def
_ erb _ method (11) -
def
_ exception (12) -
def
_ extend _ command (11) -
def
_ instance _ delegator (11) -
default
_ event _ sources (11) -
default
_ port (11) - define (4)
-
define
_ finalizer (22) -
define
_ method (22) -
define
_ singleton _ method (22) -
define
_ task (11) -
defined
_ class (11) - display (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - dump (22)
- each (33)
-
each
_ char (22) -
each
_ classmodule (11) -
each
_ line (44) -
each
_ object (11) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (21) - entitydecl (11)
-
external
_ encoding (11) - fail (39)
- filename (11)
- filename= (11)
- fileno (11)
-
find
_ class _ named (11) - getbyte (11)
- getc (11)
- gets (33)
-
global
_ variables (11) - handler= (11)
- include (11)
- include? (11)
- included (11)
- inherited (11)
- initialize (11)
-
initialize
_ copy (11) -
inplace
_ mode (11) -
inplace
_ mode= (11) - inspect (22)
-
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) -
kind
_ of? (11) - lineno (11)
- lineno= (11)
- lines (42)
-
local
_ variables (11) - max (22)
-
method
_ defined? (11) -
method
_ id (11) -
method
_ undefined (11) - methods (11)
- min (44)
-
module
_ eval (11) - name (22)
- name= (11)
- new (520)
-
ole
_ classes (22) -
ole
_ type (11) -
ole
_ types (11) - on (143)
- open (88)
-
original
_ name (22) -
parse
_ files _ matching (11) - path (11)
- pos (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) - puts (11)
- raise (33)
-
rake
_ extension (11) - rationalize (22)
-
rb
_ define _ class _ under (11) -
reachable
_ objects _ from (11) - read (22)
-
read
_ nonblock (11) - readbyte (11)
- readchar (11)
- readline (33)
- readlines (44)
- readpartial (11)
- refine (11)
- reject (22)
-
remove
_ class _ variable (11) -
remove
_ handler (11) -
remove
_ instance _ variable (11) - request (11)
-
respond
_ to? (11) -
respond
_ to _ missing? (11) -
safe
_ load (17) - seek (11)
-
set
_ encoding (33) -
set
_ get _ line _ procs (22) -
set
_ trace _ func (11) -
singleton
_ class (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) -
sort
_ by (22) -
source
_ location (11) - stat (11)
- struct (11)
-
super
_ method (10) - superclass (3)
- tell (11)
- timeout (35)
-
to
_ a (33) -
to
_ bn (11) -
to
_ i (11) -
to
_ io (11) -
to
_ json (77) -
to
_ s (33) - traverse (11)
-
tsort
_ each (11) -
undefine
_ finalizer (11) - union (11)
- value (22)
- write (11)
- | (11)
- リテラル (10)
- 変数と定数 (11)
検索結果
先頭5件
-
Win32
:: Registry :: PredefinedKey # class (30217.0) -
@todo
...@todo... -
Class
# superclass -> Class | nil (24525.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]{
BasicObject.......superclass #=> nil
//}
@see Class#subclasses... -
TracePoint
# defined _ class -> Class | module (21556.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 は特異クラ
スを返します。また、Kernel.#set_trace_func の 6......く元のクラスを返します。
//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 50864... -
ARGF
. class # internal _ encoding -> Encoding | nil (21418.0) -
ARGF から読み込んだ文字列の内部エンコーディングを返します。 内部エンコーディングが指定されていない場合は nil を返します。
...nil を返します。
まだ読み込み処理を始めていない場合は Encoding.default_external を返します。
ARGF.class#set_encoding で設定します。
例:
# $ ruby -Eutf-8 test.rb
# test.rb
ARGF.internal_encoding # => #<Encoding:UTF-8>
ARGF.set_encoding('u......tf-8','ascii')
ARGF.internal_encoding # => #<Encoding:US-ASCII>
例:
ARGF.binmode
ARGF.internal_encoding # => nil
@see IO, ARGF.class#external_encoding... -
Module
# class _ variables(inherit = true) -> [Symbol] (21343.0) -
クラス/モジュールに定義されているクラス変数の名前の配列を返します。
...
@param inherit 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
# remove _ class _ variable(name) -> object (21343.0) -
引数で指定したクラス変数を取り除き、そのクラス変数に設定さ れていた値を返します。
...、そのクラス変数に設定さ
れていた値を返します。
@param name String または Symbol を指定します。
@return 引数で指定されたクラス変数に設定されていた値を返します。
@raise NameError 引数で指定されたクラス変数がそのモジュ......ールやクラスに定義されていない場合に発生します。
//emlist[例][ruby]{
class Foo
@@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... -
Module
# class _ variable _ defined?(name) -> bool (21337.0) -
name で与えられた名前のクラス変数がモジュールに存在する場合 true を 返します。
...す。
@param 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 _ variable _ get(name) -> object (21325.0) -
クラス/モジュールに定義されているクラス変数 name の値を返します。
...name の値を返します。
@param name String または Symbol を指定します。
@raise NameError クラス変数 name が定義されていない場合、発生します。
//emlist[例][ruby]{
class Fred
@@foo = 99
end
def Fred.foo
class_variable_get(:@@foo)
end
p Fred.foo #=> 99
/... -
Module
# class _ variable _ set(name , val) -> object (21319.0) -
クラス/モジュールにクラス変数 name を定義して、その値として val をセットします。val を返します。
...義して、その値として
val をセットします。val を返します。
@param name String または Symbol を指定します。
//emlist[例][ruby]{
class Fred
@@foo = 99
def foo
@@foo
end
end
def Fred.foo(val)
class_variable_set(:@@foo, val)
end
p Fred.foo(101) # => 10... -
OpenSSL
:: ASN1 . # PrintableString(value) -> OpenSSL :: ASN1 :: PrintableString -> OpenSSL :: ASN1 :: PrintableString (18931.0) -
ASN.1 の PrintableString 型の値を表現する Ruby のオブジェクトを 生成します。
....1 の PrintableString 型の値を表現する Ruby のオブジェクトを
生成します。
OpenSSL::ASN1::PrintableString.new と同じです。
@param value ASN.1 値を表す Ruby のオブジェクト(文字列)
@param tag タグ番号
@param tagging タグ付けの方法(:IMPLICIT もし......くは :EXPLICIT)
@param tag_class タグクラス(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)...