66件ヒット
[1-66件を表示]
(0.181秒)
ライブラリ
- rake (11)
-
rake
/ loaders / makefile (11) -
rdoc
/ context (33) -
rexml
/ document (11)
クラス
-
RDoc
:: Context (11) -
RDoc
:: Context :: Section (22) -
REXML
:: DocType (11) -
Rake
:: MakefileLoader (11)
モジュール
-
Rake
:: TaskManager (11)
キーワード
-
last
_ description (11) - load (11)
-
set
_ comment (11) -
set
_ current _ section (11) - write (11)
検索結果
先頭5件
-
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
//}...