種類
- インスタンスメソッド (528)
- 文書 (89)
- ライブラリ (60)
- クラス (48)
- 特異メソッド (36)
ライブラリ
- ビルトイン (12)
- etc (36)
-
net
/ http (12) - rake (60)
-
rake
/ loaders / makefile (12) -
rdoc
/ code _ object (24) -
rdoc
/ context (48) -
rdoc
/ parser / simple (12) -
rdoc
/ text (24) -
rexml
/ document (168) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
ripper
/ filter (12) - rss (48)
- zlib (24)
クラス
-
Etc
:: Passwd (24) -
RDoc
:: CodeObject (24) -
RDoc
:: Context (12) -
RDoc
:: Context :: Section (36) -
RDoc
:: Parser :: Simple (12) -
REXML
:: Comment (108) -
REXML
:: DocType (36) -
REXML
:: Element (12) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: Parsers :: SAX2Parser (60) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
RSS
:: Rss :: Channel :: Item (24) -
Rake
:: MakefileLoader (12) -
Rake
:: Task (36) -
WEBrick
:: Cookie (24) -
Zlib
:: GzipFile (12) -
Zlib
:: GzipWriter (12)
モジュール
-
Net
:: HTTPHeader (12) -
RDoc
:: Text (24) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12) -
Rake
:: TaskManager (24)
キーワード
- <=> (12)
- == (12)
- Comment (12)
- Filter (12)
-
NEWS for Ruby 3
. 0 . 0 (5) - Passwd (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Ruby用語集 (12)
- String (12)
-
attribute
_ of (12) -
attributes
_ of (12) - clone (12)
- comment= (60)
- comment? (12)
- comments (36)
- comments= (24)
-
content
_ type (12) -
full
_ comment (12) -
last
_ comment (12) -
last
_ description (12) - listen (60)
- load (12)
- new (36)
-
node
_ type (12) -
normalize
_ comment (12) - parse (12)
-
rdoc
/ parser / ruby (12) -
remove
_ private _ comments (12) -
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) -
ruby 1
. 6 feature (12) -
set
_ comment (12) -
set
_ current _ section (12) - string (12)
- string= (12)
-
to
_ s (12) - write (12)
- リテラル (12)
- 多言語化 (12)
- 字句構造 (12)
- 正規表現 (12)
検索結果
先頭5件
-
Net
:: HTTPHeader # content _ type -> String|nil (6.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) (6.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|... -
String (6.0)
-
文字列のクラスです。 ヌル文字を含む任意のバイト列を扱うことができます。 文字列の長さにはメモリ容量以外の制限はありません。
...すので、
ハッシュのキーに非 ASCII 文字列を使う場合には注意が必要です。
//emlist[動作例: (注)一行目にmagic commentが必要です。][ruby]{
# encoding: UTF-8
h = {}
s = "いろは"
s.force_encoding("EUC-JP")
h[s] = 1
s.force_encoding("ASCII-8BIT")
p h[s]... -
rdoc
/ parser / ruby (6.0) -
Ruby のソースコードを解析するためのサブライブラリです。
...キュメントに含める事ができます。
##
# :attr_writer: ghost_writer
# There is an attribute here, but you can't see it!
##
# :method: ghost_method
# There is a method here, but you can't see it!
##
# this is a comment for a regular method
def regular_method() end... -
rexml
/ parsers / ultralightparser (6.0) -
パース結果を配列で作られた木構造により返すパーサ。
...キストノード
: [:processing_instruction, ターゲット文字列, 内容文字列 | nil]
XML処理命令(Processing Instruction, PI)
: [:comment ,コメント文字列]
コメント
: [:start_doctype, 親ノード, ルート要素名, "SYSTEM" | "PUBLIC" | nil, システム識別子 | nil... -
ruby 1
. 6 feature (6.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ません。コメントの扱いなどは、1.7
とは異なります。(((<ruby 1.7 feature>)) の 2002-06-24 も参照)
p "#{ "" # comment }"
=> ruby 1.6.8 (2002-10-04) [i586-linux]
""
=> -:1: parse error
ruby 1.7.3 (2002-10-04) [i586-linux]
: Si...