1409件ヒット
[1-100件を表示]
(0.054秒)
種類
ライブラリ
- English (96)
- ビルトイン (609)
- benchmark (12)
- csv (24)
- date (4)
-
fiddle
/ import (12) -
irb
/ input-method (60) - json (48)
- logger (1)
- objspace (12)
- observer (12)
- openssl (12)
- psych (12)
- rake (24)
-
rake
/ packagetask (12) - rbconfig (12)
-
rubygems
/ dependency _ list (12) -
rubygems
/ exceptions (12) - socket (24)
- stringio (12)
- strscan (24)
- time (60)
- win32ole (24)
- zlib (48)
クラス
-
ARGF
. class (24) - Array (57)
- CSV (12)
- Data (15)
- Date (2)
- DateTime (2)
-
Encoding
:: Converter (48) -
Gem
:: DependencyList (12) - IO (40)
-
IRB
:: InputMethod (12) -
IRB
:: ReadlineInputMethod (24) -
IRB
:: StdioInputMethod (24) -
JSON
:: State (12) - MatchData (54)
- Method (12)
- Module (48)
- Numeric (12)
- Object (60)
- Proc (6)
-
Rake
:: FileList (24) -
Rake
:: PackageTask (12) -
RubyVM
:: InstructionSequence (48) - Socket (12)
- String (12)
- StringIO (12)
- StringScanner (24)
- Struct (16)
- Symbol (12)
- SystemCallError (12)
- Thread (24)
- Time (62)
-
WIN32OLE
_ PARAM (12) -
Zlib
:: GzipReader (48)
モジュール
- Benchmark (12)
-
Fiddle
:: Importer (12) - JSON (24)
- Kernel (181)
- ObjectSpace (12)
- RbConfig (12)
-
RubyVM
:: AbstractSyntaxTree (10) -
Socket
:: Constants (12)
キーワード
-
$ ARGV (12) -
$ DEFAULT _ INPUT (12) -
$ INPUT _ LINE _ NUMBER (12) -
$ LAST _ PAREN _ MATCH (12) -
$ LAST _ READ _ LINE (12) -
$ NR (12) -
$ ORS (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - === (36)
- Application (1)
- CSV (12)
- EOFError (12)
- EndOfYAMLException (12)
- Extend (12)
-
MAKEFILE
_ CONFIG (12) -
MSG
_ COMPAT (24) - Marshal フォーマット (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - OCSP (12)
- Observable (12)
- Proc (12)
- Ruby用語集 (12)
-
WIN32OLE
_ TYPELIB (12) - [] (22)
- autoload (24)
- autoload? (12)
-
base
_ label (12) - begin (12)
- benchmark (12)
- bigdecimal (12)
- byteoffset (6)
-
check
_ circular? (12) - coerce (12)
-
const
_ set (12) -
deconstruct
_ keys (9) -
end
_ with? (6) - eof (12)
- eof? (36)
- fetch (36)
-
first
_ lineno (12) - generate (12)
- gets (12)
-
handle
_ interrupt (12) - httpdate (12)
-
instance
_ of? (12) -
is
_ a? (24) - iso8601 (12)
-
kind
_ of? (24) - label (12)
- lambda (18)
-
memsize
_ of _ all (12) -
net
/ imap (12) -
net
/ smtp (12) - new (42)
- offset (24)
- output? (12)
- pack (21)
- pack テンプレート文字列 (12)
- pointer= (12)
- pos= (12)
- pread (8)
-
primitive
_ convert (48) - proc (19)
- pwrite (8)
- rdoc (12)
-
rdoc
/ generator / json _ index (12) -
readable
_ atfer _ eof? (36) - readbyte (12)
- readchar (24)
- readline (24)
- rfc2822 (12)
- rfc822 (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby2
_ keywords (18) - seek (24)
- sizeof (12)
-
source
_ location (12) -
spec
_ predecessors (12) -
start
_ with? (6) - sysseek (12)
-
test
/ unit (1) - unpack (12)
- unparse (12)
- xmlschema (12)
-
yaml
_ tag (12) - クラス/メソッドの定義 (12)
- パターンマッチ (12)
- 変数と定数 (4)
- 手続きオブジェクトの挙動の詳細 (12)
検索結果
先頭5件
- RubyVM
:: InstructionSequence . of(body) -> RubyVM :: InstructionSequence - MatchData
# end(n) -> Integer | nil - RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node - RubyVM
:: AbstractSyntaxTree . of(proc , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node - RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node
-
RubyVM
:: InstructionSequence . of(body) -> RubyVM :: InstructionSequence (18149.0) -
引数 body で指定した Proc、Method オブジェクトを元に RubyVM::InstructionSequence オブジェクトを作成して返します。
...合
# proc
> p = proc { num = 1 + 2 }
> RubyVM::InstructionSequence.of(p)
> # => <RubyVM::InstructionSequence:block in irb_binding@(irb)>
# method
> def foo(bar); puts bar; end
> RubyVM::InstructionSequence.of(method(:foo))
> # => <RubyVM::InstructionSequence:foo@(irb)>
例2: Ruby......o, world"
end
$a_global_proc = proc { str = 'a' + 'b' }
# irb
> require '/tmp/iseq_of.rb'
# hello メソッド
> RubyVM::InstructionSequence.of(method(:hello))
> # => #<RubyVM::InstructionSequence:0x007fb73d7cb1d0>
# グローバル proc
> RubyVM::InstructionSequence.of($a_glob... -
MatchData
# end(n) -> Integer | nil (18143.0) -
n 番目の部分文字列終端のオフセットを返します。
...IndexError 範囲外の n を指定した場合に発生します。
//emlist[例][ruby]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p $~.end(0) # => 6
p $~.end(1) # => 3
p $~.end(2) # => 6
p $~.end(3) # => nil
p $~.end(4) # => `end': index 4 out of matches (IndexError)
//}
@see MatchData#begin... -
RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node (18120.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
...byVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))
def hello
puts "hello, world"
end
pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# => (SC... -
RubyVM
:: AbstractSyntaxTree . of(proc , keep _ script _ lines: false , error _ tolerant: false , keep _ tokens: false) -> RubyVM :: AbstractSyntaxTree :: Node (18120.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
...byVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))
def hello
puts "hello, world"
end
pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# => (SC... -
RubyVM
:: AbstractSyntaxTree . of(proc) -> RubyVM :: AbstractSyntaxTree :: Node (18119.0) -
引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。
...byVM::AbstractSyntaxTree.of(proc {1 + 2})
# => (SCOPE@2:38-2:45
# tbl: []
# args: nil
# body:
# (OPCALL@2:39-2:44 (LIT@2:39-2:40 1) :+
# (LIST@2:43-2:44 (LIT@2:43-2:44 2) nil)))
def hello
puts "hello, world"
end
pp RubyVM::AbstractSyntaxTree.of(method(:hello))
# => (SC... -
Gem
:: EndOfYAMLException (12000.0) -
YAML データが不正である場合に使用する例外です。
YAML データが不正である場合に使用する例外です。 -
Object
# instance _ of?(klass) -> bool (6143.0) -
オブジェクトがクラス klass の直接のインスタンスである時真を返します。
...obj.instance_of?(c) が成立する時には、常に obj.kind_of?(c) も成立します。
@param klass Classかそのサブクラスのインスタンスです。
//emlist[][ruby]{
class C < Object
end
class S < C
end
obj = S.new
p obj.instance_of?(S) # true
p obj.instance_of?(C) #......false
//}
@see Object#kind_of?,Object#class... -
Symbol
# end _ with?(*suffixes) -> bool (6137.0) -
self の末尾が suffixes のいずれかであるとき true を返します。
...。
(self.to_s.end_with?と同じです。)
@param suffixes パターンを表す文字列 (のリスト)
@see Symbol#start_with?
@see String#end_with?
//emlist[][ruby]{
:hello.end_with?("ello") #=> true
# returns true if one of the +suffixes+ matches.
:hello.end_with?("heaven",......"ello") #=> true
:hello.end_with?("heaven", "paradise") #=> false
//}... -
IRB
:: InputMethod # readable _ atfer _ eof? -> false (6132.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
...入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。... -
IRB
:: ReadlineInputMethod # eof? -> bool (6132.0) -
入力が EOF(End Of File)に達したかどうかを返します。
...入力が EOF(End Of File)に達したかどうかを返します。... -
IRB
:: ReadlineInputMethod # readable _ atfer _ eof? -> false (6132.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
...入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。...