33件ヒット
[1-33件を表示]
(0.036秒)
検索結果
-
Gem
:: Specification # author=(name) (18201.0) -
作成者の名前をセットします。
作成者の名前をセットします。 -
rubygems (36.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...作成した gemspec ファイルを元にして Gem パッケージを簡単に作成することができます。
$ gem build <gemspec filename>
最小の gemspec は以下のようになります。ビルドするために必要な最小の gemspec なので出来上がるのは
メタデ......む Gem パッケージです。また、いくつかの警告が表示されます。
//emlist[gemspec][ruby]{
Gem::Specification.new do |s|
s.name = 'hello'
s.version = '0.0.0'
s.summary = 'hello summary'
end
//}
実用的なライブラリを作成するための gemspec の例を示......empackagetask'
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://example.com/hello'... -
rss (30.0)
-
RSS を扱うためのライブラリです。
...logo.png"
maker.textinput.title = "Search Example Site"
maker.textinput.description = "Search Example Site's all text"
maker.textinput.name = "keyword"
maker.textinput.link = "http://example.com/search.cgi"
end
===== XMLスタイルシートの指定
もし,
* http://exampl......logo.png"
maker.textinput.title = "Search Example Site"
maker.textinput.description = "Search Example Site's all text"
maker.textinput.name = "keyword"
maker.textinput.link = "http://example.com/search.cgi"
end
===== RSS 2.0の生成
もし,RSS 2.0を生成したい場合は......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...