16件ヒット
[1-16件を表示]
(0.190秒)
検索結果
先頭2件
-
rss (39792.0)
-
RSS を扱うためのライブラリです。
...RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, A......ポートしていますが,RSS 0.90
はサポートしてません.ごめんなさい.
RSS のモジュールはそれぞれ、
* Dublin Core モジュール http://web.resource.org/rss/1.0/modules/dc/
* Syndication モジュール http://web.resource.org/rss/1.0/modules/syndication/
* C......value)
rss.items << item
rss.items.last == item # => true
注意: item=/set_itemなどはRubyっぽくないので使わないでくださ
い.
=== 出力
RSS Parserといっているので誤解されがちですが,RSS/Atomを出力する
こともできます.
==== 基本
to_sす... -
NEWS for Ruby 2
. 7 . 0 (60.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...Numbered parameters)がデフォルトのブロックの仮引数として
導入されました。 4475
//emlist[][ruby]{
[1, 2, 10].map { _1.to_s(16) } #=> ["1", "2", "a"]
[[1, 2], [3, 4]].map { _1 + _2 } #=> [3, 7]
//}
* 「_1」などはまだローカル変数名として使えて......た。 15323
* Enumerable#tallyが追加されました。 11076
//emlist[Enumerable#filter_map][ruby]{
[1, 2, 3].filter_map {|x| x.odd? ? x.to_s : nil } #=> ["1", "3"]
//}
//emlist[Enumerable#tally][ruby]{
["A", "B", "C", "B", "A"].tally #=> {"A"=>2, "B"=>2, "C"=>1}
//}
* Enumerator
*......* REXML
* 3.2.3に更新されました。
https://github.com/ruby/rexml/blob/master/NEWS.md
* RSS
* RSS 0.2.8に更新されました。
https://github.com/ruby/rss/blob/master/NEWS.md
* RubyGems
* RubyGems 3.1.2に更新されました。
* https://github.com...