266件ヒット
[1-100件を表示]
(0.122秒)
クラス
- BasicObject (11)
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Scalar (22) - Regexp (11)
-
RubyVM
:: InstructionSequence (11) - String (20)
- Struct (2)
モジュール
- Kernel (11)
キーワード
- +@ (9)
- -@ (9)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 3
. 0 . 0 (4) - Rubyの起動 (11)
- Ruby用語集 (11)
-
_ _ id _ _ (11) - ` (11)
-
compile
_ option (11) - dedup (2)
-
literal
_ append (11) -
literal
_ concat (11) -
literal
_ concat _ dstr (11) -
literal
_ concat _ list (11) -
literal
_ concat _ string (11) - new (13)
-
ruby 1
. 8 . 4 feature (11) - scalar (11)
- uri (11)
- ~ (11)
- オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- リテラル (11)
- 正規表現 (11)
検索結果
先頭5件
-
Psych
:: Nodes :: Scalar :: LITERAL -> Integer (24217.0) -
literal style を表します。
...literal style を表します。
@see Psych::Nodes::Scalar.new,
Psych::Nodes::Scalar#style,
Psych::Handler#scalar... -
static NODE * literal
_ append(NODE *head , NODE *tail) (12200.0) -
-
static NODE * literal
_ concat(NODE *head , NODE *tail) (12200.0) -
-
static NODE * literal
_ concat _ dstr(NODE *head , NODE *tail) (12200.0) -
-
static NODE * literal
_ concat _ list(NODE *head , NODE *tail) (12200.0) -
-
static NODE * literal
_ concat _ string(NODE *head , NODE *tail , VALUE str) (12200.0) -
-
RubyVM
:: InstructionSequence . compile _ option -> Hash (6112.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
...//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>f......alse,
# :trace_instruction=>true,
# :frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}
@see RubyVM::InstructionSequence.compile_option=... -
BasicObject
# _ _ id _ _ -> Integer (6106.0) -
各オブジェクトに対して一意な整数を返します。あるオブジェクトに対し てどのような整数が割り当てられるかは不定です。
...t#object_id と同じですが、#object_id は BasicObject に
はない事に注意してください。
//emlist[例][ruby]{
# frozen_string_literal: false
obj = Object.new
obj.object_id == obj.__id__ # => true
Object.new.__id__ == Object.new.__id__ # => false
(21 * 2).__id__ =......= (21 * 2).__id__ # => true
"hello".__id__ == "hello".__id__ # => false
"hi".freeze.__id__ == "hi".freeze.__id__ # => true
//}
@see Object#object_id, 42840... -
リテラル (6072.0)
-
リテラル * num * string * backslash * exp * char * command * here * regexp * array * hash * range * symbol * percent
...リテラル
* num
* string
* backslash
* exp
* char
* command
* here
* regexp
* array
* hash
* range
* symbol
* percent
数字の1や文字列"hello world"のようにRubyのプログラムの中に直接
記述できる値の事をリテラルといいます。
===[a:n......恐れがあるため、6.022e+23r のような指数部に有理数リ
テラルを含む形式は指定できません。
: 42i
: 3.14i
複素数
: 42ri
: 3.14ri
虚数部が有理数の複素数
数値リテラルには、`_' を含めることができます。
ruby インタプリタ......efix の直後に書くことはできません。また、_ を連続して
書いてもエラーになります。他、細かい部分でこのあたりの規則は見直され統
一されました。
//emlist[][ruby]{
1_000_000_000 # => 1000000000
0xffff_ffff # => 0xffffffff
//}
===[a:strin... -
uri (6006.0)
-
URI (Uniform Resource Identifier) のためのライブラリです。
...URI (Uniform Resource Identifier) のためのライブラリです。
=== 関連 RFC
以下は実装の際に参照されている RFC であり、最新の RFC であるとは限りません。
* 1738 Uniform Resource Locators (URL) (Updated by 2396)
* 2255 The LDAP UR......ailto URL scheme
* 2373 IP Version 6 Addressing Architecture (Obsoleted by 3513)
* 2396 Uniform Resource Identifiers (URI): Generic Syntax (Obsoleted by 3986)
* 2732 Format for Literal IPv6 Addresses in URL's (Obsoleted by 3986)
* 3986 Uniform Resource Identifi......er (URI): Generic Syntax
* 3987 Internationalized Resource Identifiers (IRIs)...