120件ヒット
[1-100件を表示]
(0.026秒)
キーワード
- optparse (12)
-
rake
/ gempackagetask (12) - rdoc (12)
- rss (12)
- rubygems (12)
-
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / mirror _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / server _ command (12)
検索結果
-
rss (133.0)
-
RSS を扱うためのライブラリです。
...れません。これ
は要素が子要素または属性を持つ場合も同様です。
rss = RSS::Parser.parse(rss_source)
rss.channel.description # => /rdf:RDF/channel/text(); String
属性にアクセスする時も同様です。channel要素のrdf:about属性に
アクセスするに......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/article.htmlにある
* Sample Artic......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/"
item = maker.items.new_item
item.link = "http://example.com/article.ht... -
rubygems (31.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...= ['Hello Author']
s.email = 'hello_author@example.com'
s.homepage = 'http://example.com/hello/'
s.description = 'hello description'
end
//}
: name
この Gem の名前を指定します。
: version
この Gem のバージョンを指定します。
: summ......Gem の作者の連絡先メールアドレスを指定します。
: homepage
この Gem のウェブサイトの URI を指定します。
: description
この Gem の長い説明を指定します。
実行可能なファイル (コマンド) を含む場合の gemspec は以下のように......rs = ['Hello Author']
s.email = 'hello@example.com'
s.homepage = 'http://example.com/hello'
s.description = 'hello description'
end
//}
ライブラリの例に加えて executables を追加しています。
また、以下のように Rakefile にタ... -
optparse (25.0)
-
コマンドラインのオプションを取り扱うためのライブラリです。
...ptionParser.new
opt.on('-a', 'description of -a') {|v| p v }
opt.on('-b', 'description of -b') {|v| p v }
opt.parse!(ARGV)
p ARGV
//}
↓
ruby ./sample.rb --help
# => Usage: sample [options]
-a description of -a
-b... -
rake
/ gempackagetask (7.0) -
Gem Spec ファイルを元にして Gem パッケージを作成するタスクを定義するためのライブラリです。
...s.version = PKG_VERSION
s.requirements << 'none'
s.require_path = 'lib'
s.autorequire = 'rake'
s.files = PKG_FILES
s.description = <<EOF
Rake is a Make-like program implemented in Ruby. Tasks
and dependencies are specified in standard Ruby syntax.
EOF
end... -
rdoc (7.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...ルファベット+ピリオドで
アルファベットリスト
====[a:labeled_list] ラベル付きリスト
ラベル付きリスト(description list とも呼ばれる)は通常大括弧でラベルを囲
います。
[cat] small domestic animal
[+cat+] command to copy standard i... -
rubygems
/ commands / generate _ index _ command (7.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
...Ruby 自体のデバッグオプションを有効にします
Summary:
Generates the index files for a gem server directory
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under t... -
rubygems
/ commands / lock _ command (7.0) -
指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。
...ンを指定します
Summary:
特定バージョンの Gem パッケージを使用するために必要な記述を表示します
Description:
The lock command will generate a list of +gem+ statements that will lock
down
the versions for the gem given in the comman... -
rubygems
/ commands / mirror _ command (7.0) -
リモートリポジトリをローカルリポジトリにミラーするためのライブラリです。
...Ruby 自体のデバッグオプションを有効にします
Summary:
Gem リポジトリをミラーします
Description:
このコマンドは ~/.gemmirrorrc ファイルを使用してリモート Gem リポジトリを
ローカルにミラーし... -
rubygems
/ commands / pristine _ command (7.0) -
インストールされている Gem パッケージを初期状態にするためのライブラリです。
...o pristine condition (unless --all)
Summary:
Restores installed gems to pristine condition from files located in the gem
cache
Description:
The pristine command compares the installed gems with the contents of the
cached gem and restores any files that don't match the...