36件ヒット
[1-36件を表示]
(0.047秒)
別のキーワード
検索結果
-
Gem
:: Specification # author=(name) (21100.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
rubygems (36.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...タデータのみを含む Gem パッケージです。また、いくつかの警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するため......示します。
警告メッセージが出力されないようにいくつか設定を追加しています。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
s.files = ['l......require 'rake/gempackagetask'
PKG_FILES = FileList[
'lib/hello.rb',
'spec/*'
]
spec = Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.1'
s.author = 'Hello Author'
s.email = 'hello@example.com'
s.homepage = 'http://examp... -
rss (12.0)
-
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, Atom 1.0 をサポートしていますが,RSS......maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"
maker.channel.author = "Bob"
maker.channel.date = Time.now
maker.items.do_sort = true
maker.items.new_item do |item|
item.link = "http://example.com...