るりまサーチ

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

別のキーワード

  1. _builtin first
  2. array first
  3. range first
  4. matrix first_minor
  5. enumerable first

検索結果

Thread::Backtrace::Location#label -> String (18119.0)

self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ ジュール名などで構成されます。

...フレームのラベルを返します。通常、メソッド名、クラス名、モ
ジュール名などで構成されます。

例: Thread::Backtrace::Location の例1を用いた例

//emlist[][ruby]{
loc = c(0..1).first
loc.label # => "a"
//}

@see Thread::Backtrace::Location#base_label...

NEWS for Ruby 3.0.0 (48.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...details.
17273
* A {static analysis}[rdoc-label:label-Static+analysis] foundation is
introduced.
* {RBS}[rdoc-label:label-RBS] is introduced. It is a type definition
language for Ruby programs.
* {TypeProf}[rdoc-label:label-TypeProf] is experimentally bundled. It is a...
...will cause compaction to occur during major collections. At the moment, compaction adds significant overhead to major collections, so please test first! 17176
* Hash
* Hash#transform_keys and Hash#transform_keys! now accept a hash that maps keys to new keys. 16274
* Hash#except has bee...
...16555
* Net::HTTP.get, Net::HTTP.get_response, and Net::HTTP.get_print can take the request headers as a Hash in the second argument when the first argument is a URI. 16686
* Net::SMTP
* Add SNI support.
* Net::SMTP.start arguments are keyword arguments.
* TLS should not check t...

リテラル (36.0)

リテラル * num * string * backslash * exp * char * command * here * regexp * array * hash * range * symbol * percent

...は " ヒアドキュメント\n" が渡される
method(arg1, <<LABEL, arg2)
ヒアドキュメント
LABEL


# ヒアドキュメントをレシーバにメソッドを呼ぶ
p <<LABEL.upcase
the lower case string
LABEL


# => "THE LOWER CASE STRING\n"
//}

開始ラベルの次の行は常...
...に複数のヒアドキュメントを書くこともできます。

//emlist[][ruby]{
print <<FIRST, <<SECOND
これは一つめのヒアドキュメントです。
まだ一つめです。
FIRST

この行からは二つめのヒアドキュメントです。
この行で終わりま...

rdoc (30.0)

RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。

...スト
* 数字+ピリオドで番号付きリスト
* アルファベット+ピリオドで
アルファベットリスト

====[a:labeled_list] ラベル付きリスト

ラベル付きリスト(description list とも呼ばれる)は通常大括弧でラベルを囲
います。...
...です。

<tt>--output</tt> <i>name [, name]</i>::
specify the name of one or more output files. If multiple
files are present, the first is used as the index.

<tt>--quiet:</tt>:: do not output the names, sizes, byte counts,
index areas, or bit ratios of units...
...

label
[url] の形式でもハイパーリンクが張れます。この場合は label が表示
され、url がリンク先となります。label が複数の単語を含んでいる場合(日本
語の場合はこっちを使ってください)、

中括弧を使い、{multi word label}[ur...

NEWS for Ruby 2.2.0 (24.0)

NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...* 拡張: Find.#find は "ignore_error" というキーワード引数を受け付けるようになりました

* Matrix
* 追加: Matrix#first_minor
* 追加: Matrix#cofactor
* 追加: Matrix#adjugate
* 追加: Matrix#hstack, Matrix#vstack
* 追加: Matrix#laplace_expansio...
...p://docs.seattlerb.org/rake/History_rdoc.html#label-10.4.0

* rubygems
* RubyGems 2.4.2 になりました。リリースノートの全てはリンク先を参照してください。
http://docs.seattlerb.org/rubygems/History_txt.html#label-2.4.2+%2F+2014-10-01

* tsort
* TSort.t...
...ので削除しました。

* lib/complex.rb
* 2009年から非推奨だったので削除しました。

* prettyprint
* PrettyPrint#first? は削除しました。

* lib/minitest/*.rb
* mintest 5 と衝突するので削除しました。9711

* lib/test/**/*.rb
* minite...

絞り込み条件を変える

cgi/session (24.0)

CGI のセッション管理を行うライブラリ。

...たくないよ
@session = CGI::Session.new(@cgi) # セッションはこうして生成する。
@cmd = "#{@cgi['cmd'].first}" # ruby 1.8 でも動くように(warning は出ます)
@cmd = 'start' if @cmd.empty?
@header = { "type" => "text/htm...
...">
</p>
</form>
</body></html>
END
}
end

def cmd_hello
name = Kconv.toeuc(@cgi['name'].first)
@session['name'] = name # セッションに記憶
@cgi.out(@header) { # セッシ...
...NV['SCRIPT_NAME'])}">[戻る]</a></p>
</body></html>
END
}
end
end

SessionDemo.new

=== 参考URL

* http://www.shugo.net/article/webdb2/#label:13
* http://www.modruby.net/doc/faq.ja.jis.html#label-13
* http://www.ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html...

NEWS for Ruby 2.0.0 (18.0)

NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...uctionSequence#path,
RubyVM::InstructionSequence#absolute_path,
RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#base_label,
RubyVM::InstructionSequence#first_lineno to retrieve information from where
the instruction sequence was defined.
* スタッ...

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

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

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

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

: #label

メソッド名、クラス名、モジュール名などで構成される命令シーケンスのラ
ベル。トップレベルでは "<ma...
...いた場合は "<compiled>"。

: #absolute_path

命令シーケンスの絶対パス。文字列から作成していた場合は nil。

: #first_lineno

命令シーケンスの 1 行目の行番号。

: type

命令シーケンスの種別。
:top、:method、:block、:class、:rescue...
...の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。

[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]

より詳細な情報については、vm_core.h を参...