るりまサーチ

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

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. thread abort_on_exception
  5. _builtin abort_on_exception

ライブラリ

モジュール

キーワード

検索結果

RDoc::Context::Section#comment -> String | nil (24102.0)

section のコメントを返します。

...section のコメントを返します。...

RDoc::Context::Section#set_comment(comment) -> () (12221.0)

自身にコメントを設定します。

... comment 文字列を指定します。

comment
の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。

# ---------------------
# :section...

REXML::Comment#clone -> REXML::Comment (9218.0)

内容が複製された Comment オブジェクトを返します。 (親ノードの情報は複製されません)。

...内容が複製された Comment オブジェクトを返します。
(親ノードの情報は複製されません)。...

RDoc::Context#set_current_section(title, comment) -> () (9202.0)

Handle sections

...Handle sections...

Net::HTTPHeader#content_type -> String|nil (6107.0)

"text/html" のような Content-Type を表す 文字列を返します。

...text/html" のような Content-Type を表す
文字列を返します。

Content-Type: ヘッダフィールドが存在しない場合には nil を返します。

//emlist[例][ruby]{
require 'net/http'

uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post....
...new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}...

絞り込み条件を変える

Rake::TaskManager#last_description -> String (6102.0)

Rakefile 内の最新の詳細説明を追跡するためのメソッドです。

...詳細説明を追跡するためのメソッドです。

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

task default: :test_rake_app1

desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end

desc "test2"
task :test_rake_app2 do |task|
end
//}...