158件ヒット
[1-100件を表示]
(0.117秒)
種類
- インスタンスメソッド (141)
- 文書 (17)
ライブラリ
- ビルトイン (33)
-
net
/ http (12) - rake (12)
-
rake
/ loaders / makefile (12) -
rdoc
/ parser / simple (12) -
rexml
/ document (12) - rss (48)
クラス
- Array (21)
-
RDoc
:: Parser :: Simple (12) -
REXML
:: Element (12) -
RSS
:: Maker :: ItemsBase :: ItemBase (24) -
RSS
:: Rss :: Channel :: Item (24) -
Rake
:: Application (12) -
Rake
:: MakefileLoader (12) - String (12)
モジュール
-
Net
:: HTTPHeader (12)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (5) -
add
_ loader (12) - comments= (24)
-
content
_ type (12) - load (12)
- pack (21)
- pack テンプレート文字列 (12)
-
remove
_ private _ comments (12) - unpack (12)
検索結果
先頭5件
-
REXML
:: Element # comments -> [REXML :: Comments] (27402.0) -
すべての comment 子ノードの配列を返します。
...すべての comment 子ノードの配列を返します。
返される配列は freeze されます。... -
NEWS for Ruby 3
. 0 . 0 (26018.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 3.0.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......ord arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matche......od definition is added. [EXPERIMENTAL]
16746
//emlist{
def square(x) = x * x
//}
* Interpolated String literals are no longer frozen when
`# frozen-string-literal: true` is used. 17104
* Magic comment `shareable_constant_value` added to freeze constants.
See {Magic Comments}[rdoc-... -
RSS
:: Maker :: ItemsBase :: ItemBase # comments (24202.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # comments (24202.0) -
@todo
@todo -
RDoc
:: Parser :: Simple # remove _ private _ comments(comment) -> String (12301.0) -
行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返 します。
...行頭の "--" から "++" で囲まれたコメントを comment から削除した結果を返
します。
@param comment 対象の文字列を指定します。
@return コメントが削除された文字列を返します。... -
RSS
:: Maker :: ItemsBase :: ItemBase # comments=() (12202.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # comments= (12202.0) -
@todo
@todo -
Net
:: HTTPHeader # content _ type -> String|nil (9206.0) -
"text/html" のような Content-Type を表す 文字列を返します。
...ような Content-Type を表す
文字列を返します。
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.reques......t_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}... -
String
# unpack(template) -> Array (6424.0) -
Array#pack で生成された文字列を テンプレート文字列 template にしたがってアンパックし、 それらの要素を含む配列を返します。
...の要素を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるものは、Array#pack、String#unpack
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」を表......字のシステム依存性
各テンプレート文字の説明の中で、
short や long はシステムによらずそれぞれ 2, 4バイトサ
イズの数値(32ビットマシンで一般的なshort, longのサイズ)を意味していま
す。s, S, l, L に対しては直後に _ または......い)
リトルエンディアン:
//emlist[][ruby]{
("Comments").unpack("U*").pack("v*") # => "C\x00o\x00m\x00m\x00e\x00n\x00t\x00s\x00"
//}
ビッグエンディアン:
//emlist[][ruby]{
("Comments").unpack("U*").pack("n*") # => "\x00C\x00o\x00m\x00m\x00e\x00n\x00t\x00s"
//}
@see Array#pack......を含む配列を返します。
@param template pack テンプレート文字列
@return オブジェクトの配列
以下にあげるものは、Array#pack、String#unpack、String#unpack1
のテンプレート文字の一覧です。テンプレート文字は後に「長さ」......エンディアン:
//emlist[][ruby]{
("Comments").unpack("U*").pack("v*") # => "C\x00o\x00m\x00m\x00e\x00n\x00t\x00s\x00"
//}
ビッグエンディアン:
//emlist[][ruby]{
("Comments").unpack("U*").pack("n*") # => "\x00C\x00o\x00m\x00m\x00e\x00n\x00t\x00s"
//}
@see String#unpack1, Array#pack...