るりまサーチ

最速Rubyリファレンスマニュアル検索!
3517件ヒット [1-100件を表示] (0.158秒)
トップページ > クエリ:i[x] > クエリ:-[x] > クエリ:of[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. ipaddr to_i

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

StringScanner#beginning_of_line? -> bool (27501.0)

スキャンポインタが行頭を指しているなら true を、 行頭以外を指しているなら false を返します。

...\n の直後を指していることです。
文字列末尾は必ずしも行頭ではありません。

//emlist[例][ruby]{
require 'strscan'

s = StringScanner.new("test\nstring")
s.bol? # => true
s.scan(/\w+/)
s.bol? # => false
s.scan(/\n/)
s.bol? # => true
s.scan(/\w+/)...

irb/completion (26024.0)

irb の completion 機能を提供するライブラリです。

...irb の completion 機能を提供するライブラリです。

=== 使い方

$ irb -r irb/completion

とするか, ~/.irbrc 中に

require "irb/completion"

を入れてください.
i
rb実行中に require "irb/completion" してもよいです.

i
rb 実行中に [Tab] を押すとコ...
...全に補完します.

i
rb(main):001:0> in
i
n inspect instance_eval
i
nclude install_alias_method instance_of?
i
nitialize install_aliases instance_variables
i
rb(main):001:0> inspect
"main"
i
rb(main):002:0> foo = Objec...
...覧がでます.

i
rb(main):003:0> foo.
foo.== foo.frozen? foo.protected_methods
foo.=== foo.hash foo.public_methods
foo.=~ foo.id foo.respond_to?
foo.__id__ foo.inspect f...

RubyVM::InstructionSequence.of(body) -> RubyVM::InstructionSequence (21337.0)

引数 body で指定した Proc、Method オブジェクトを元に RubyVM::InstructionSequence オブジェクトを作成して返します。

...:InstructionSequence オブジェクトを作成して返します。

@param body Proc、Method オブジェクトを指定します。

例1:irb で実行した場合

# proc
> p = proc { num = 1 + 2 }
> RubyVM::InstructionSequence.of(p)
> # => <RubyVM::InstructionSequence:block in irb_bin...
...ding@(irb)>

# method
> def foo(bar); puts bar; end
> RubyVM::InstructionSequence.of(method(:foo))
> # => <RubyVM::InstructionSequence:foo@(irb)>

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/iseq_of.rb
def hello
puts "hello, world"
end

$a_global_...
...' + 'b' }

# irb
> require '/tmp/iseq_of.rb'

# hello メソッド
> RubyVM::InstructionSequence.of(method(:hello))
> # => #<RubyVM::InstructionSequence:0x007fb73d7cb1d0>

# グローバル proc
> RubyVM::InstructionSequence.of($a_global_proc)
> # => #<RubyVM::InstructionSequence:0x0...

OpenSSL::OCSP::REVOKED_STATUS_CESSATIONOFOPERATION -> Integer (18400.0)

OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の運用を止めたことを意味します。

...OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の運用を止めたことを意味します。

詳しくは 3280 や X.509 を参照してください。...

Profiler__.#stop_profile -> nil (18400.0)

プロファイルの取得を停止します。

プロファイルの取得を停止します。

絞り込み条件を変える

RubyVM::AbstractSyntaxTree.of(proc, keep_script_lines: false, error_tolerant: false, keep_tokens: false) -> RubyVM::AbstractSyntaxTree::Node (18374.0)

引数 proc に渡したProcやメソッドオブジェクトの抽象構文木を返します。

...み込む必要があるため、
i
rbのようなファイルを介さない対話的環境では動作しません。

@param proc Procもしくはメソッドオブジェクトを指定します。
@param keep_script_lines true を指定すると、 Node#script_lines でノードと関連づけら...
.../emlist[][ruby]{
pp RubyVM::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(me...
...@5:0-7:3
# tbl: []
# args:
# (ARGS@5:9-5:9
# pre_num: 0
# pre_init: nil
# opt: nil
# first_post: nil
# post_num: 0
# post_init: nil
# rest: nil
# kw: nil
# kwrest: nil
# block: nil)
# body:
# (FCALL@6:2-6:2...

Profiler__.#print_profile(file) -> () (18300.0)

stop_profile を実行し、プロファイルの結果を file に出力します。 file には printf メソッドが定義されていなければいけません。

...stop_profile を実行し、プロファイルの結果を file に出力します。
file には printf メソッドが定義されていなければいけません。

@param file File のインスタンスを指定します。...

Profiler__.#start_profile -> object (18300.0)

プロファイルの取得を開始します。

プロファイルの取得を開始します。

Profiler__::PROFILE_PROC -> Proc (18300.0)

内部で使用します。

内部で使用します。

WEBrick::HTTPAuth::ProxyAuthenticator::InfoField -> "Proxy-Authentication-Info" (15402.0)

キーの名前です。

キーの名前です。

絞り込み条件を変える

Fiddle::SIZEOF_SIZE_T -> Integer (15400.0)

Cでの sizeof(size_t) の値

...Cでの sizeof(size_t) の値...

Fiddle::SIZEOF_SSIZE_T -> Integer (15400.0)

Cでの sizeof(ssize_t) の値

...Cでの sizeof(ssize_t) の値...
<< 1 2 3 ... > >>