48件ヒット
[1-48件を表示]
(0.077秒)
別のキーワード
ライブラリ
-
net
/ http (12) - rake (24)
-
rexml
/ document (12)
クラス
-
REXML
:: DocType (12)
モジュール
-
Net
:: HTTPHeader (12) -
Rake
:: TaskManager (24)
キーワード
-
attribute
_ of (12) -
content
_ type (12) -
last
_ comment (12) -
last
_ description (12)
検索結果
先頭4件
-
Rake
:: TaskManager # last _ comment -> String (6318.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_a... -
Rake
:: TaskManager # last _ description -> String (3218.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_a... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (227.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...m element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDAT... -
Net
:: HTTPHeader # content _ type -> String|nil (221.0) -
"text/html" のような Content-Type を表す 文字列を返します。
...tent-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/f...