るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n=
  3. pop3 n_mails
  4. rsa n
  5. pop n_mails

ライブラリ

モジュール

キーワード

検索結果

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

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

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

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

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

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

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

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

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

Handle sections

...Handle sections...

Rake::TaskManager#last_description -> String (12202.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
//}...

REXML::DocType#write(output, indent = 0, transitive = false, ie_hack = false) -> () (125.0)

output に DTD を出力します。

...力先の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないでください。

//emlist[][ruby]{
require 'rexml/document'

docty...
...pe = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
EOS

d...
...octype.write(STDOUT)
# =>
# <!DOCTYPE books [
# <!ELEMENT book (comment)>
# ....
//}...

絞り込み条件を変える

Rake::MakefileLoader#load(filename) (119.0)

与えられた Makefile をロードします。

...lename 読み込む Makefile の名前を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする
require "rake/loaders/makefile"

task default: :test_rake_app

open "sample.mf", "w" do |io|
io
<< <<-'SAMPLE_MF'
# Comments
a: a1 a2 a3 a4
b: b1 b2 b3 \
b4 b5 b6\
# Mid: Comment
b...
...a6 a7
c: c1
d: d1 d2 \
e f : e1 f1
g\ 0: g1 g\ 2 g\ 3 g4
SAMPLE_MF
end

task :test_rake_app do |task|
loader = Rake::MakefileLoader.new
loader.load("sample.mf")
p Rake::Task.task_defined?("a") # => true
p Rake::Task.tasks[0] # => <Rake::FileTask a => [a1, a2, a3, a4, a5, a6, a7]>
end
//}...