るりまサーチ (Ruby 2.1.0)

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

別のキーワード

  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 (72307.0)

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

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

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

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

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

@param comment 文字列を指定します。

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

# ---------------------
# :section: The title
# The body
# ---------------------

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

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

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

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

Handle sections

Handle sections

Net::HTTPHeader#content_type -> String|nil (18322.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/for...

絞り込み条件を変える

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

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

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
//}