種類
- ライブラリ (60)
- 文書 (41)
- インスタンスメソッド (36)
- 特異メソッド (24)
クラス
-
RSS
:: Maker :: RSSBase (36) - Symbol (12)
モジュール
-
RSS
:: Maker (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
all
_ symbols (12) - rake (12)
-
rake
/ gempackagetask (12) - rss (12)
-
rss
_ version (12) -
ruby 1
. 6 feature (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / lock _ command (12) - version= (12)
検索結果
先頭5件
-
RSS
:: Maker . make(version , &block) (21218.0) -
@todo versionには"1.0"または"0.9"または "0.91"または"2.0"を指定します."0.9" と"0.91"は同じであることに注意してください.
...@todo
versionには"1.0"または"0.9"または
"0.91"または"2.0"を指定します."0.9"
と"0.91"は同じであることに注意してください.
blockを実行したあとのmakerオブジェクトから
RSSオブジェクトを生成して返します.... -
RSS
:: Maker :: RSSBase # version (21101.0) -
@todo 作成するXMLのバージョンを返します.
@todo
作成するXMLのバージョンを返します. -
RSS
:: Maker :: RSSBase # rss _ version (9101.0) -
@todo 作成するRSSのバージョンを返します.
@todo
作成するRSSのバージョンを返します. -
RSS
:: Maker :: RSSBase # version=() (9101.0) -
@todo 作成するXMLのバージョンを設定します.
@todo
作成するXMLのバージョンを設定します. -
rss (126.0)
-
RSS を扱うためのライブラリです。
.../Atomをパースせずに,一から新しくRSS/Atomを作成するには
RSS Makerが便利です.
以下のように使います.
require "rss"
rss = RSS::Maker.make("バージョン") do |maker|
maker.XXX = YYY
...
end
===== シンプルなRSS
例えば,
* http://e......以下のようにします.
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
もし,
*......:Maker.make("0.91") do |maker|
maker.channel.language = "ja" if maker.feed_version == "0.91"
...
end
===== Atom 1.0の生成
もし,Atom 1.0を生成したい場合は,RSS 0.91や2.0の場合と同様に
RSS::Maker.makeの第一引数を"atom"に変更します.
rss = RSS::Maker... -
Symbol
. all _ symbols -> [Symbol] (78.0) -
定義済みの全てのシンボルオブジェクトの配列を返します。
...定義済みの全てのシンボルオブジェクトの配列を返します。
p Symbol.all_symbols #=> [:RUBY_PLATFORM, :RUBY_VERSION, ...]
リテラルで表記したシンボルのうち、コンパイル時に値が決まるものはその時に生成されます。
それ以外の式......'make_3'
end
p Symbol.all_symbols.select{|sym|sym.to_s.include? 'make'}
#=> [:make_1, :make_2]
re = #確実に生成されるように代入操作を行う
:make_1,
:'make_2',
:"#{number}",
'make_4'.intern
p Symbol.all_symbols.select{|sym|sym.to_s.include? 'make'}
#=> [:make_......1, :make_2, :make_3, :make_4]... -
ruby 1
. 6 feature (70.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
...ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) ->......Integer>)) と同じ規則を
使用するようになりました。
p sprintf("%d", nil)
=> -:1:in `sprintf': no implicit conversion from nil (TypeError)
from -:1
ruby 1.6.7 (2002-03-01) [i586-linux]
=> ruby 1.6.7 (2002-07-30) [i586-linux]......gexp.quote("#")}b/x =~ "ab"
=> -:3: warning: ambiguous first argument; make sure
ruby 1.6.7 (2002-03-01) [i586-linux]
"#"
0
=> -:3: warning: ambiguous first argument; make sure
ruby 1.6.7 (2002-07-30) [i586-linux]
"\\#"... -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (60.0) -
1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))
...)) [new]
: ((<Float::ROUNDS|Float/ROUNDS>)) [new]
追加 ((<ruby-math:0773>))
: ((<Marshal::MAJOR_VERSION|Marshal/MAJOR_VERSION>)) [new]
: ((<Marshal::MINOR_VERSION|Marshal/MINOR_VERSION>)) [new]
追加。Marshal が出力するダンプフォーマットのバージョン番......#
# class SubClass < Class
# end
#
# #=> -:1:in `inherited': can't make subclass of Class (TypeError)
# from -:1
# ruby 1.7.1 (2001-06-12) [i586-linux]
#
# #=> -:1: can't make subclass of Class (TypeError)
# ruby 1.7.1 (2001-07-31) [i586-linux]
==......le.basename>)) [CHANGE]
: ((<File/File.dirname>)) [CHANGE]
File.dirname と File.basename の動作が ((<SUSv3|URL:http://www.unix-systems.org/version3/online.html>)) に従うようになりました。
((<ruby-dev:19548>)) [PATCH] file.c for ((<ruby-bugs-ja:PR#389>))
and ((<ruby-bugs-ja:P... -
rubygems
/ commands / lock _ command (36.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
...使用するために
必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
Usage: gem lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Optio......バッグオプションを有効にします
Arguments:
GEMNAME ロックする Gem パッケージの名前を指定します
VERSION ロックする Gem パッケージのバージョンを指定します
Summary:
特定バージョンの Gem パッケージ......on to ensure that the current
versions are loaded. Make sure that lockdown.rb is loaded *before* any
other require statements.
Notice that rails 1.0.0 only requires that rake 0.6.2 or better be used.
Rake-0.7.0.1 is the most recent version installed that satisfies tha...