種類
ライブラリ
- English (22)
- ビルトイン (1881)
- csv (22)
- e2mmap (12)
- etc (11)
- forwardable (33)
- json (66)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / time (11) -
minitest
/ unit (1) - monitor (11)
-
mutex
_ m (11) - openssl (803)
- optparse (33)
- pp (22)
- rake (33)
- rdoc (11)
-
rdoc
/ context (77) -
rdoc
/ generator / json _ index (11) -
rdoc
/ known _ classes (11) -
rdoc
/ parser (11) -
rdoc
/ single _ class (11) -
rdoc
/ stats (11) -
rdoc
/ top _ level (44) - resolv (11)
-
rexml
/ document (22) -
rubygems
/ ext / builder (11) -
shell
/ command-processor (6) - singleton (11)
- socket (66)
- thread (2)
- timeout (19)
- tracer (33)
- uri (11)
-
webrick
/ httputils (33) -
win32
/ registry (209) - win32ole (88)
クラス
-
ARGF
. class (606) - BasicObject (77)
- BigDecimal (11)
- CSV (22)
- Class (11)
- Complex (11)
- Data (4)
- Date (11)
- DateTime (11)
- Dir (33)
-
Etc
:: Passwd (11) - Exception (11)
- FalseClass (22)
- File (11)
-
Gem
:: Ext :: Builder (11) - IO (11)
- Integer (11)
- Method (66)
-
MiniTest
:: Unit :: TestCase (1) - Module (335)
- NilClass (22)
- Object (264)
-
OpenSSL
:: ASN1 :: BMPString (22) -
OpenSSL
:: ASN1 :: BitString (22) -
OpenSSL
:: ASN1 :: Boolean (11) -
OpenSSL
:: ASN1 :: Enumerated (11) -
OpenSSL
:: ASN1 :: GeneralString (22) -
OpenSSL
:: ASN1 :: GeneralizedTime (11) -
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 (11) -
OpenSSL
:: ASN1 :: OctetString (22) -
OpenSSL
:: ASN1 :: PrintableString (22) -
OpenSSL
:: ASN1 :: Sequence (11) -
OpenSSL
:: ASN1 :: Set (11) -
OpenSSL
:: ASN1 :: T61String (22) -
OpenSSL
:: ASN1 :: UTCTime (11) -
OpenSSL
:: ASN1 :: UTF8String (22) -
OpenSSL
:: ASN1 :: UniversalString (22) -
OpenSSL
:: ASN1 :: VideotexString (22) - OptionParser (33)
-
RDoc
:: Context (77) -
RDoc
:: Generator :: JsonIndex (11) -
RDoc
:: Parser (11) -
RDoc
:: Stats (11) -
RDoc
:: TopLevel (44) -
REXML
:: CData (22) - Range (11)
- Rational (11)
- Regexp (22)
-
RubyVM
:: InstructionSequence (11) -
Shell
:: CommandProcessor (6) - Socket (33)
- String (11)
- Struct (25)
- Thread (11)
-
Thread
:: Backtrace :: Location (44) - Time (11)
- TracePoint (44)
- Tracer (33)
- TrueClass (22)
-
URI
:: Generic (11) - UnboundMethod (33)
-
WEBrick
:: HTTPUtils :: FormData (33) -
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (44) -
WIN32OLE
_ TYPELIB (33) -
Win32
:: Registry (99) -
Win32
:: Registry :: PredefinedKey (11)
モジュール
- Enumerable (44)
- Exception2MessageMapper (12)
- Forwardable (22)
- JSON (11)
-
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (121)
- Marshal (22)
-
Mutex
_ m (11) - ObjectSpace (55)
-
OpenSSL
:: ASN1 (396) - RDoc (22)
-
Rake
:: TaskManager (22) -
Socket
:: Constants (33) - Timeout (19)
-
Win32
:: Registry :: Constants (99)
キーワード
-
$ ERROR _ INFO (11) -
$ ERROR _ POSITION (11) -
$ FILENAME (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- <=> (11)
- === (11)
- ARGF (11)
- BMPString (22)
- BitString (22)
- Boolean (11)
-
CLASS
_ MODIFIERS (11) - ConditionVariable (11)
- Enumerated (11)
- Fail (6)
- GeneralString (22)
- GeneralizedTime (11)
- 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)
-
IPPROTO
_ TP (22) -
IPV6
_ RECVTCLASS (22) -
IPV6
_ TCLASS (22) - ISO64String (22)
- Integer (22)
-
KNOWN
_ CLASSES (11) - Location (11)
- Marshal フォーマット (11)
- MonitorMixin (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - Null (11)
- NumericString (22)
- ObjectId (11)
- OctetString (22)
-
PASSTHROUGH
_ EXCEPTIONS (1) - PrintableString (22)
- Raise (6)
- Ruby用語集 (11)
- Sequence (11)
- Set (11)
- SingleClass (11)
- SingleForwardable (11)
- Singleton (11)
- String (11)
- T61String (22)
- TYPES (11)
- UTCTime (11)
- UTF8String (22)
- UniversalString (22)
- VideotexString (22)
- [] (11)
-
_ dump (11) -
absolute
_ path (11) -
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ filter (11) -
add
_ module (11) -
all
_ classes _ and _ modules (11) - arity (22)
- autoload (7)
- autoload? (11)
- backtrace (11)
-
base
_ label (11) - bind (11)
- binmode (11)
- binmode? (11)
-
callee
_ id (11) - cgi (11)
-
class
_ eval (11) -
class
_ name (11) -
class
_ variable _ defined? (11) -
class
_ variables (11) - classes (11)
- codepoints (14)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ missing (11) -
const
_ source _ location (5) - constants (11)
-
create
_ id (11) -
def
_ builtin _ commands (6) -
def
_ instance _ delegator (11) -
default
_ event _ sources (11) -
default
_ port (11) - define (4)
-
define
_ aliases (11) -
define
_ finalizer (22) -
define
_ method (22) -
define
_ singleton _ method (22) -
define
_ task (11) -
defined
_ class (11) - dump (22)
- each (22)
-
each
_ classmodule (11) -
each
_ codepoint (22) -
each
_ line (44) -
each
_ object (22) -
external
_ encoding (11) - fail (33)
- filename (22)
- fileno (11)
-
find
_ class _ named (11) -
find
_ class _ path (11) -
find
_ local _ symbol (11) -
fixed
_ encoding? (11) - getbyte (11)
- getc (11)
- gets (33)
- handler= (11)
- include (11)
- include? (11)
-
include
_ class _ new (11) - included (11)
- inherited (11)
- initialize (11)
-
initialize
_ classes _ and _ modules (11) -
initialize
_ copy (11) -
inplace
_ mode (11) -
inplace
_ mode= (11) -
ins
_ methods _ i (11) -
ins
_ methods _ priv _ i (11) -
ins
_ methods _ prot _ i (11) - inspect (77)
-
instance
_ delegate (11) -
instance
_ eval (22) -
instance
_ exec (11) -
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) - irb (11)
-
irb
/ completion (11) -
kind
_ of? (11) - lineno (11)
- lineno= (11)
- lines (42)
-
method
_ defined? (11) -
method
_ id (11) -
method
_ missing (11) -
method
_ undefined (11) - methods (11)
- min (44)
-
minitest
/ unit (1) -
module
_ eval (11) - name (22)
- nesting (11)
- new (476)
-
num
_ classes (11) -
ole
_ classes (22) -
ole
_ type (11) -
ole
_ types (11) - on (33)
- open (22)
-
original
_ name (22) -
parse
_ files _ matching (11) - path (22)
- pathmap (11)
- pos (11)
-
pretty
_ print (11) -
pretty
_ print _ cycle (11) - print (11)
- printf (11)
- private (4)
-
private
_ method _ defined? (11) -
protected
_ method _ defined? (11) -
public
_ method _ defined? (11) - raise (33)
-
rb
_ class _ allocate _ instance (11) -
rb
_ class _ inherited (11) -
rb
_ class _ initialize (11) -
rb
_ class _ instance _ methods (11) -
rb
_ class _ new _ instance (11) -
rb
_ class _ private _ instance _ methods (11) -
rb
_ class _ protected _ instance _ methods (11) -
rb
_ class _ s _ new (11) -
rb
_ define _ class (11) -
rb
_ define _ class _ id (11) -
rb
_ define _ class _ under (11) -
rb
_ define _ class _ variable (11) -
rb
_ is _ class _ id (11) -
rb
_ singleton _ class (11) -
rb
_ singleton _ class _ attached (11) -
rb
_ singleton _ class _ clone (11) -
rb
_ singleton _ class _ new (11) - rdoc (11)
-
rdoc
/ generator / json _ index (11) -
rdoc
/ single _ class (11) - read (11)
-
read
_ nonblock (11) - readbyte (22)
- readchar (11)
- readline (33)
- readlines (44)
- readpartial (11)
- refine (11)
-
remove
_ class _ variable (11) -
remove
_ instance _ variable (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) - rewind (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
set
_ encoding (33) -
set
_ get _ line _ procs (22) -
singleton
_ class (11) -
singleton
_ class? (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) -
source
_ location (11) - tell (11)
-
test
/ unit (1) - timeout (19)
-
to
_ a (44) -
to
_ bn (11) -
to
_ i (22) -
to
_ int (11) -
to
_ json (154) -
to
_ json _ raw _ object (11) -
to
_ s (99) -
to
_ str (11) - tracer (11)
- uclass (11)
- unbind (11)
-
undefine
_ finalizer (11) - value (11)
- write (11)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
- 制御構造 (11)
- 字句構造 (11)
- 正規表現 (11)
検索結果
先頭5件
-
static VALUE include
_ class _ new(VALUE module , VALUE super) (38300.0) -
super をスーパークラスとして モジュールの「化身」クラスを作成し返します。
super をスーパークラスとして
モジュールの「化身」クラスを作成し返します。 -
static int ins
_ methods _ i(ID key , NODE *body , VALUE ary) (32316.0) -
rb_class_instance_methods() のイテレータブロック (通常版)。
...rb_class_instance_methods() のイテレータブロック (通常版)。... -
static int ins
_ methods _ priv _ i(ID key , NODE *body , VALUE ary) (32316.0) -
rb_class_instance_methods() のイテレータブロック (private メソッド版)。
...rb_class_instance_methods() のイテレータブロック
(private メソッド版)。... -
static int ins
_ methods _ prot _ i(ID key , NODE *body , VALUE ary) (32316.0) -
rb_class_instance_methods() のイテレータブロック (protected メソッド版)。
...rb_class_instance_methods() のイテレータブロック
(protected メソッド版)。... -
Win32
:: Registry :: PredefinedKey # class (30101.0) -
@todo
@todo -
ARGF
. class # internal _ encoding -> Encoding | nil (27612.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... -
irb (26102.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......。
$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1>......end
:foo
irb(main):007:0>
また irb コマンドは readline ライブラリにも対応しています。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマン... -
irb
/ completion (26018.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Object.n......ic_methods
foo.=~ foo.id foo.respond_to?
foo.__id__ foo.inspect foo.send
foo.__send__ foo.instance_eval foo.singleton_methods
foo.class foo.instance_of? foo.taint
foo.clone foo.in... -
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (26006.0)
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/
...ntation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃っています。
標準添付ライブラリのリファレンスは一部未完成です。
それ以外のドキュメントについては、まだまだ書き直しが必要です。
=== 目次
* spec/intro......様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel
Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/literal
* spec/operator
* spec/control
* spec/call
* s......f
その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc
==== 組み込みライブラリ
* _builtin
==== 標準添付ライブラリ
* /
==== C API
* /
==== その他
* news/index
* pack_template
* print_format
* glossary
* symref
* marshal_format
* license
* help......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って....../intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel
Ruby の文法:
* spec/lexical
* spec/program
* spec/varia......c/literal
* spec/operator
* spec/control
* spec/call
* spec/def
その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc
==== 組み込みライブラリ
* _builtin
==== 標準添付ライブラリ
* /
==== C API
* /
==== その他
* news/index
* pack_template
* print_f......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.5 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.6 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.7 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.0 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.1 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.2 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って......c/intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
Ruby の文法:
* spec/lexical
* spec/program
* spec/variables
* spec/lite......ニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリファレンスはほぼ揃って... -
OpenSSL
:: ASN1 . # PrintableString(value) -> OpenSSL :: ASN1 :: PrintableString -> OpenSSL :: ASN1 :: PrintableString (25207.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 のいずれか)...