種類
- インスタンスメソッド (324)
- ライブラリ (24)
- 文書 (4)
ライブラリ
-
rake
/ rdoctask (12) - rss (300)
クラス
-
RDoc
:: Options (12) -
RSS
:: Maker :: ChannelBase (12) -
RSS
:: Maker :: ImageBase (12) -
RSS
:: Maker :: ItemsBase :: ItemBase (12) -
RSS
:: Maker :: TextinputBase (12) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (12) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Image (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: Rss :: Channel (24) -
RSS
:: Rss :: Channel :: Image (24) -
RSS
:: Rss :: Channel :: Item (24) -
RSS
:: Rss :: Channel :: TextInput (24) -
RSS
:: XMLStyleSheet (24) -
Rake
:: RDocTask (12)
モジュール
- DublinCoreModel (24)
キーワード
-
NEWS for Ruby 3
. 1 . 0 (4) -
dc
_ title (12) -
dc
_ title= (12) -
rexml
/ document (12) - rss (12)
- title (108)
検索結果
-
DublinCoreModel
# dc _ title= (3101.0) -
@todo
@todo -
rss (222.0)
-
RSS を扱うためのライブラリです。
...StyleSheetオブジェ
クトは与えられた引数によって初期化されます.
Hash:
{
:href => "...",
:type => "...",
:title => "...",
:media => "...",
:charset => "...",
:alternate => "...",
}
連想配列:
[
[:href, "..."],
[:type, "..."],......ます.
require "rss"
rss = RSS::Maker.make("1.0") do |maker|
maker.channel.about = "http://example.com/index.rdf"
maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"
end
もし,
* http://example.com/ar......p://example.com/index.rdf"
maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"
item = maker.items.new_item
item.link = "http://example.com/article.html"
item.title = "Sample Article"
end
===== 更新時刻... -
NEWS for Ruby 3
. 1 . 0 (18.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...細なエラー位置を表示します。
//emlist[例][ruby]{
title = json[:article][:title]
//}
jsonがnilの時、
//emlist{
$ ruby test.rb
test.rb:2:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
title = json[:article][:title]
^^^^^^^^^^
//}
json[:article]......が返す時、
//emlist{
$ ruby test.rb
test.rb:2:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
title = json[:article][:title]
^^^^^^^^
//}
この機能はデフォルトで有効になっています。
--disable-error_highlight コマンドライン... -
rexml
/ document (12.0) -
DOM スタイルの XML パーサ。
...ents["title"]
title = title_element ? title_element.text : nil
desc_element = bookmark.elements["desc"]
desc = desc_element ? desc_element.text : nil
Bookmark.new(href, title, desc)
end
pp bookmarks
# >> [#<struct Bookmark
# >> href="http://www.ruby-lang.org/ja/",
# >> title="オブジ......om/",
# >> title="最速Rubyリファレンスマニュアル検索! | るりまサーチ",
# >> desc="Rubyリファレンスマニュアルを全文検索できる。\nとても便利。\n ">,
# >> #<struct Bookmark
# >> href="https://github.com/rurema/bitclust",
# >> title="rurema/bi......tclust · GitHub",
# >> desc=nil>,
# >> #<struct Bookmark
# >> href="https://rubygems.org/gems/bitclust-core",
# >> title=nil,
# >> desc=nil>]
//}... -
DublinCoreModel
# dc _ title (1.0) -
@todo
@todo -
RSS
:: RDF :: Channel # title (1.0) -
@todo
@todo -
RSS
:: RDF :: Image # title (1.0) -
@todo
@todo -
RSS
:: RDF :: Item # title (1.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title (1.0) -
@todo
@todo -
RSS
:: Rss :: Channel # title (1.0) -
@todo
@todo