るりまサーチ

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

別のキーワード

  1. comment new
  2. rexml comment
  3. comment ==
  4. etc comment
  5. comment <=>

検索結果

<< < ... 4 5 6 >>

REXML::Parsers::SAX2Parser#listen(sym, ary) { ... } -> () (13.0)

コールバックをパーサに登録します。

...ata
(CDATA セクション, REXML::SAX2Listener#cdata)
* :xmldecl
(XML 宣言, REXML::SAX2Listener#xmldecl)
* :comment
(コメント, REXML::SAX2Listener#comment)
* :progress
(入力を読み進める, REXML::SAX2Listener#progress)


ary には配列を指定し、要素名に...

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

"text/html" のような 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 # => "m...

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

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

...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
b7
a : a5 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|...
<< < ... 4 5 6 >>