種類
ライブラリ
- ビルトイン (2384)
- csv (77)
- delegate (33)
- drb (22)
- etc (11)
-
fiddle
/ import (11) - forwardable (44)
-
irb
/ context (22) -
irb
/ extend-command (44) -
json
/ add / symbol (22) - matrix (92)
-
minitest
/ unit (1) -
net
/ http (11) -
net
/ imap (165) -
net
/ smtp (22) - objspace (11)
- observer (11)
- openssl (121)
- ostruct (50)
- pathname (11)
- pp (11)
- psych (28)
-
rake
/ testtask (11) -
rdoc
/ context (44) -
rdoc
/ markdown (55) -
rdoc
/ markup (44) -
rdoc
/ markup / formatter (11) -
rdoc
/ top _ level (11) -
rexml
/ document (165) -
rexml
/ parsers / pullparser (11) - ripper (55)
-
ripper
/ lexer (33) -
rubygems
/ config _ file (11) -
rubygems
/ dependency (11) -
rubygems
/ gem _ openssl (22) - sync (24)
- tracer (11)
- uri (33)
-
webrick
/ cgi (22) -
webrick
/ httpserver (11) -
webrick
/ server (11) - win32ole (11)
クラス
-
ARGF
. class (9) - BasicObject (66)
- Binding (43)
- CSV (66)
-
CSV
:: Table (11) -
DRb
:: DRbServer (11) - Data (12)
- Delegator (33)
-
Encoding
:: Converter (44) -
Gem
:: ConfigFile (11) -
Gem
:: Dependency (11) - IO (11)
-
IRB
:: Context (22) - LocalJumpError (11)
- Matrix (92)
- Method (33)
-
MiniTest
:: Unit :: TestCase (1) - Module (572)
- NameError (20)
-
Net
:: HTTP (11) -
Net
:: IMAP (143) -
Net
:: IMAP :: FetchData (11) -
Net
:: IMAP :: MailboxList (11) -
Net
:: SMTP (22) - Object (297)
-
OpenSSL
:: ASN1 :: ASN1Data (11) -
OpenSSL
:: ASN1 :: Constructive (11) -
OpenSSL
:: ASN1 :: Primitive (11) -
OpenSSL
:: PKCS7 (22) -
OpenSSL
:: PKey :: EC :: Group (22) -
OpenSSL
:: SSL :: SSLContext (33) - OpenStruct (50)
- Pathname (11)
- Proc (22)
-
RDoc
:: Context (44) -
RDoc
:: Markdown (55) -
RDoc
:: Markup (44) -
RDoc
:: Markup :: Formatter (11) -
RDoc
:: Options (11) -
RDoc
:: TopLevel (11) -
REXML
:: AttlistDecl (11) -
REXML
:: Attribute (11) -
REXML
:: Comment (11) -
REXML
:: DocType (22) -
REXML
:: Document (22) -
REXML
:: Element (44) -
REXML
:: Instruction (11) -
REXML
:: Parsers :: PullEvent (11) -
REXML
:: Text (11) -
REXML
:: XMLDecl (11) -
Rake
:: TestTask (11) - Regexp (11)
- Ripper (66)
-
Ripper
:: Lexer (22) - RubyVM (11)
-
RubyVM
:: AbstractSyntaxTree :: Node (6) -
RubyVM
:: InstructionSequence (11) - SignalException (33)
- String (71)
- Struct (127)
- Symbol (404)
- Thread (73)
- TracePoint (55)
- Tracer (11)
-
URI
:: Generic (33) - UnboundMethod (22)
-
WEBrick
:: CGI (22) -
WEBrick
:: GenericServer (11) -
WEBrick
:: HTTPServer (11) - WIN32OLE (11)
モジュール
- DRb (11)
- Enumerable (66)
- Etc (11)
-
Fiddle
:: Importer (11) - Forwardable (22)
- GC (55)
-
Gem
:: SSL (22) -
IRB
:: ContextExtender (11) -
IRB
:: ExtendCommandBundle (33) - Kernel (143)
- ObjectSpace (55)
-
OpenSSL
:: ASN1 (11) - Process (44)
- Psych (28)
- Signal (22)
- SingleForwardable (22)
-
Sync
_ m (24)
オブジェクト
- main (68)
キーワード
- % (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - <=> (11)
- == (11)
- =~ (22)
- ANSWERED (11)
-
CLOCK
_ MONOTONIC (11) -
CLOCK
_ PROCESS _ CPUTIME _ ID (11) -
CLOCK
_ REALTIME (11) - COMPONENT (11)
-
CP
_ SYMBOL (11) -
DEFAULT
_ AUTH _ TYPE (11) -
DEFAULT
_ EXTENSIONS (11) -
DEFAULT
_ PARAMS (22) - DELETED (11)
-
DIGEST
_ SHA1 (11) - DRAFT (11)
- EVENTS (11)
-
EVENT
_ SYMBOL (11) - EX (6)
- EXTENSIONS (11)
- ExternalEntity (11)
- FLAGGED (11)
- HeaderConverters (11)
- ID2SYM (11)
-
IMMEDIATE
_ P (11) -
INSECURE
_ METHOD (11) -
INTERNAL
_ CONSTANTS (11) - MARKED (11)
- METHODS (11)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NOINFERIORS (11)
- NOSELECT (11)
- Observable (11)
-
PARSER
_ EVENTS (11) -
PARSER
_ EVENT _ TABLE (11) -
PKEY
_ RSA (11) - RECENT (11)
- Ruby プログラムの実行 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Ruby用語集 (11)
-
SCANNER
_ EVENTS (11) -
SCANNER
_ EVENT _ TABLE (11) - SEEN (11)
- SH (6)
-
SPECIAL
_ CONST _ P (11) - SYM2ID (11)
-
SYMBOL
_ P (11) -
TO
_ PATH (11) - UN (6)
- UNMARKED (11)
- VISIBILITIES (11)
- [] (110)
- []= (33)
-
_ _ callee _ _ (11) -
_ _ method _ _ (11) -
_ _ send _ _ (22) -
add
_ html (11) -
add
_ special (11) -
add
_ tag (11) -
add
_ word _ pair (11) -
alias
_ method (11) -
all
_ symbols (11) - append (11)
- attr (55)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - autoload (22)
- autoload? (22)
-
callee
_ id (11) - capitalize (11)
- casecmp (11)
- casecmp? (8)
-
class
_ variable _ defined? (11) -
class
_ variable _ get (11) -
class
_ variable _ set (11) -
class
_ variables (11) - clone (11)
- collect (12)
- collect! (12)
- component (22)
- config (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ missing (11) -
const
_ set (11) -
const
_ source _ location (5) - constants (22)
- context (22)
- context= (11)
-
def
_ extend _ command (22) - define (4)
-
define
_ method (44) -
define
_ singleton _ method (22) - delegate (22)
-
deprecate
_ constant (9) - downcase (19)
- dup (11)
- each (22)
-
each
_ object (44) -
each
_ pair (22) -
each
_ with _ index (22) - empty? (11)
- encoding (11)
-
end
_ with? (5) - equal? (11)
- event (11)
-
event
_ type (11) - extension (11)
- extension? (11)
- fetch (7)
-
find
_ local _ symbol (22) -
find
_ symbol (11) - format (11)
-
get
_ line _ types (11) -
global
_ variables (11) -
handle
_ interrupt (11) - hash (22)
-
header
_ convert (33) -
header
_ converters (11) - id2name (11)
-
import
_ symbol (11) - inject (33)
- inspect (11)
-
install
_ alias _ method (11) -
instance
_ delegate (11) -
instance
_ method (11) -
instance
_ methods (11) -
instance
_ variable _ defined? (11) -
instance
_ variable _ get (11) -
instance
_ variable _ set (11) -
instance
_ variables (11) - intern (22)
-
irb
_ original _ method _ name (11) -
json
/ add / symbol (11) -
json
_ create (11) - key? (11)
- keys (11)
- kill (11)
-
latest
_ gc _ info (22) - length (11)
- lex (22)
- load (11)
- loader (11)
-
local
_ variable _ defined? (11) -
local
_ variable _ get (11) -
local
_ variable _ set (11) -
local
_ variables (30) - logger (11)
- map (12)
- map! (12)
- match (33)
- match? (16)
- members (26)
- method (11)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ missing (11) -
method
_ removed (11) -
method
_ undefined (11) - methods (22)
- mode (11)
-
module
_ function (19) - name (37)
- new (132)
-
new
_ ostruct _ member (11) - next (11)
-
node
_ type (99) -
object
_ id (11) -
original
_ name (22) - parameters (22)
- parse (11)
-
point
_ conversion _ form (11) -
point
_ conversion _ form= (11) -
pretty
_ print _ instance _ variables (11) -
primitive
_ convert (44) - private (46)
-
private
_ class _ method (15) -
private
_ constant (11) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) -
prompt
_ mode (11) -
prompt
_ mode= (11) - protected (23)
-
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (22) - public (46)
-
public
_ class _ method (15) -
public
_ constant (11) -
public
_ instance _ method (11) -
public
_ instance _ methods (11) -
public
_ method (11) -
public
_ method _ defined? (11) -
public
_ methods (22) -
public
_ send (22) -
rb
_ sym _ all _ symbols (11) -
rb
_ to _ id (11) -
reachable
_ objects _ from (11) -
read
_ nonblock (20) - reason (11)
- reduce (33)
-
remove
_ class _ variable (11) -
remove
_ const (11) -
remove
_ method (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
rexml
/ parsers / pullparser (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
safe
_ load (17) - send (22)
-
session
_ cache _ stats (11) -
set
_ trace _ func (11) -
single
_ delegate (11) -
singleton
_ class (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - size (11)
- slice (55)
- sprintf (11)
- sprintf フォーマット (11)
-
ssl
_ version (11) -
start
_ with? (5) - starttls? (11)
- stat (22)
- status (11)
- store (11)
- succ (11)
- swapcase (11)
-
symbols
_ i (11) -
sync
_ mode (6) - table (11)
-
tag
_ class (11) - tagging (22)
-
test
_ order (1) -
thread
_ variable? (11) -
to
_ a (11) -
to
_ h (38) -
to
_ json (11) -
to
_ proc (11) -
to
_ s (11) -
to
_ sym (22) - trace (11)
-
trace
_ var (33) - trap (22)
- traverse (11)
- type (28)
- type= (11)
-
uid
_ store (11) - uname (11)
-
undef
_ method (11) -
untrace
_ var (11) - upcase (11)
- verbose (11)
- visibility (22)
- yaml (11)
- クラス/メソッドの定義 (11)
- セキュリティモデル (11)
- リテラル (11)
- 正規表現 (11)
検索結果
先頭5件
-
OpenStruct
# to _ h {|name , value| block } -> Hash (17.0) -
self を各要素の名前をキー(Symbol)、要素が値のハッシュに変換して返 します。
...self を各要素の名前をキー(Symbol)、要素が値のハッシュに変換して返
します。
ブロックを指定すると各ペアでブロックを呼び出し、
その結果をペアとして使います。
//emlist[例][ruby]{
require 'ostruct'
data = OpenStruct.new("country" =>... -
Data
# to _ h -> Hash (16.0) -
self のメンバ名(Symbol)と値の組を Hash にして返します。
...self のメンバ名(Symbol)と値の組を Hash にして返します。
//emlist[例][ruby]{
Customer = Data.define(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_h
# => {:name=>"Joe Smith", :address=>"123 Maple, Anytown NC", :zip=>12345}
//}
ブロックを... -
Data
# to _ h {|member , value| block } -> Hash (16.0) -
self のメンバ名(Symbol)と値の組を Hash にして返します。
...self のメンバ名(Symbol)と値の組を Hash にして返します。
//emlist[例][ruby]{
Customer = Data.define(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_h
# => {:name=>"Joe Smith", :address=>"123 Maple, Anytown NC", :zip=>12345}
//}
ブロックを... -
OpenSSL
:: PKCS7 # type=(type) (16.0) -
PKCS7 オブジェクトのタイプを Symbol オブジェクトで設定します。
...PKCS7 オブジェクトのタイプを Symbol オブジェクトで設定します。
このメソッドは使わないでください。
このメソッドは PKCS#7 の低レベル API であり、正しく使うのは
難しいでしょう。
@param type 設定するタイプ(シンボル)... -
RDoc
:: Context # visibility -> :public | :protected | :private (16.0) -
自身の可視性を Symbol で返します。
...自身の可視性を Symbol で返します。... -
RDoc
:: Context :: VISIBILITIES -> [:public , :protected , :private] (16.0) -
メソッドの可視性を Symbol の配列で返します。
...メソッドの可視性を Symbol の配列で返します。... -
RDoc
:: Options # visibility -> :public | :protected | :private (16.0) -
コマンドライン引数の --visibility で指定したオプションを Symbol で返します。
...コマンドライン引数の --visibility で指定したオプションを Symbol
で返します。... -
Struct
# each _ pair -> Enumerator (16.0) -
構造体のメンバ名(Symbol)と値の組を引数にブロックを繰り返し実行します。
...構造体のメンバ名(Symbol)と値の組を引数にブロックを繰り返し実行します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
Foo.new('FOO', 'BAR').each_pair {|m, v| p [m,v]}
# => [:foo, "FOO"]
# [:bar, "BAR"]
//}
[注意] 本メソッドの記述は Struct の下位... -
Struct
# each _ pair {|member , value| . . . } -> self (16.0) -
構造体のメンバ名(Symbol)と値の組を引数にブロックを繰り返し実行します。
...構造体のメンバ名(Symbol)と値の組を引数にブロックを繰り返し実行します。
//emlist[例][ruby]{
Foo = Struct.new(:foo, :bar)
Foo.new('FOO', 'BAR').each_pair {|m, v| p [m,v]}
# => [:foo, "FOO"]
# [:bar, "BAR"]
//}
[注意] 本メソッドの記述は Struct の下位... -
Struct
# to _ h -> Hash (16.0) -
self のメンバ名(Symbol)と値の組を Hash にして返します。
...self のメンバ名(Symbol)と値の組を Hash にして返します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_h
# => {:name=>"Joe Smith", :address=>"123 Maple, Anytown NC", :zip=>12345}
//}
[注意] 本メ......self のメンバ名(Symbol)と値の組を Hash にして返します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_h
# => {:name=>"Joe Smith", :address=>"123 Maple, Anytown NC", :zip=>12345}
//}
ブロックを... -
Struct
# to _ h {|member , value| block } -> Hash (16.0) -
self のメンバ名(Symbol)と値の組を Hash にして返します。
...self のメンバ名(Symbol)と値の組を Hash にして返します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_h
# => {:name=>"Joe Smith", :address=>"123 Maple, Anytown NC", :zip=>12345}
//}
ブロックを... -
VALUE ID2SYM(ID id) (16.0)
-
id を Symbol に変換します。
...id を Symbol に変換します。... -
VALUE rb
_ to _ id(VALUE name) (16.0) -
String・Fixnum・Symbol を ID に変換します。
...String・Fixnum・Symbol を ID に変換します。...