44件ヒット
[1-44件を表示]
(0.115秒)
検索結果
先頭4件
-
RubyVM
:: InstructionSequence # to _ a -> Array (21108.0) -
self の情報を 14 要素の配列にして返します。
...。
命令シーケンスを以下の情報で表します。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマ......の配列。
: args
引数の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報につ......する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_size=>0, :local_size=>2, :stack... -
CGI
:: QueryExtension :: Value # to _ a -> Array (21102.0) -
@todo
@todo -
CGI
:: QueryExtension :: Value # to _ ary -> Array (9102.0) -
@todo
@todo -
WEBrick
:: HTTPUtils :: FormData # to _ ary -> Array (3107.0) -
自身が表す各フォームデータを収納した配列を生成して返します。
...自身が表す各フォームデータを収納した配列を生成して返します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].list #=> ["val1", "val2", "val3"]
end
end
MyCGI.new.start()...