るりまサーチ

最速Rubyリファレンスマニュアル検索!
1248件ヒット [1201-1248件を表示] (0.519秒)

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. matrix rank_e
  5. open3 capture2e

キーワード

検索結果

<< < ... 11 12 13 >>

JSON::State#to_h -> Hash (3013.0)

自身をハッシュに変換します。

...

//emlist[例][ruby]{
require "json"
require "pp"

json_state = JSON::State.new
pp
json_state.to_h

# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,
# :max_nesting=>100,
# :depth=>0...
...,
# :buffer_initial_length=>1024}
//}...

JSON::State#to_hash -> Hash (3013.0)

自身をハッシュに変換します。

...

//emlist[例][ruby]{
require "json"
require "pp"

json_state = JSON::State.new
pp
json_state.to_h

# => {:indent=>"",
# :space=>"",
# :space_before=>"",
# :object_nl=>"",
# :array_nl=>"",
# :allow_nan=>false,
# :ascii_only=>false,
# :max_nesting=>100,
# :depth=>0...
...,
# :buffer_initial_length=>1024}
//}...

Rake::TaskManager#tasks -> Array (3013.0)

全てのタスクリストを返します。

...//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'

task default: :test_rake_app2

task :test_rake_app1 do |task|
e
nd

task :test_rake_app2 do |task|
pp
task.application.tasks
# => [<Rake::Task default => [test_rake_app2]>,
# <Rake::Task test_rake_app1 => []>,
# <Rake::...
...Task test_rake_app2 => []>]
e
nd
//}...

RubyVM::InstructionSequence#to_a -> Array (3013.0)

self の情報を 14 要素の配列にして返します。

...self の情報を 14 要素の配列にして返します。

命令シーケンスを以下の情報で表します。

: magic

データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。

: major_version

命令シーケンスのメジャーバー...
...ジョン。

: minor_version

命令シーケンスのマイナーバージョン。

: format_type

データフォーマットを示す数値。常に 1。

: misc

以下の要素から構成される Hash オブジェクト。

:arg_size: メソッド、ブロックが取る引数の...
...総数(1 つもない場合は 0)。

:local_size: ローカル変数の総数 + 1。

:stack_max: スタックの深さ。(SystemStackError を検出するために使用)

: #label

メソッド名、クラス名、モジュール名などで構成される命令シーケンスのラ...
<< < ... 11 12 13 >>