489件ヒット
[401-489件を表示]
(0.049秒)
別のキーワード
種類
- インスタンスメソッド (429)
- 定数 (22)
- 特異メソッド (22)
- ライブラリ (11)
- 文書 (5)
ライブラリ
- ビルトイン (11)
-
net
/ imap (33) - optparse (22)
- rake (77)
-
rdoc
/ generator / ri (11) - rss (275)
-
rubygems
/ command (22) -
rubygems
/ specification (22)
クラス
-
Gem
:: Command (22) -
Gem
:: Specification (22) -
Net
:: IMAP :: BodyTypeBasic (11) -
Net
:: IMAP :: BodyTypeMessage (11) -
Net
:: IMAP :: BodyTypeText (11) - Object (11)
- OptionParser (22)
-
RDoc
:: Generator :: RI (11) -
RSS
:: Maker :: ChannelBase (22) -
RSS
:: Maker :: ImageBase (22) -
RSS
:: Maker :: ItemsBase :: ItemBase (22) -
RSS
:: Maker :: TextinputBase (22) -
RSS
:: RDF :: Channel (22) -
RSS
:: RDF :: Item (22) -
RSS
:: RDF :: Textinput (22) -
RSS
:: Rss :: Channel (22) -
RSS
:: Rss :: Channel :: Image (22) -
RSS
:: Rss :: Channel :: Item (22) -
RSS
:: Rss :: Channel :: TextInput (22) -
Rake
:: Task (22)
モジュール
- DublinCoreModel (33)
- Kernel (11)
- Rake (22)
-
Rake
:: TaskManager (22)
キーワード
-
NEWS for Ruby 2
. 7 . 0 (5) -
RUBY
_ DESCRIPTION (11) -
add
_ description (11) - application (11)
- application= (11)
-
arg
_ description (11) -
dc
_ description (11) -
dc
_ description= (11) -
dc
_ descriptions (11) - desc (11)
- description= (132)
-
last
_ description (11) -
last
_ description= (11) - rss (11)
- summarize (22)
- summary= (11)
検索結果
先頭5件
- Rake
:: TaskManager # last _ description -> String - Rake
. application -> Rake :: Application - Rake
. application=(app) - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () - OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> ()
-
Rake
:: TaskManager # last _ description -> String (9314.0) -
Rakefile 内の最新の詳細説明を追跡するためのメソッドです。
...詳細説明を追跡するためのメソッドです。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app1
desc "test1"
task :test_rake_app1 do |task|
p task.application.last_description # => "test2"
end
desc "test2"
task :test_rake_app2 do |task|
end
//}... -
Rake
. application -> Rake :: Application (6218.0) -
現在の Rake アプリケーションを返します。
...re 'pp'
task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end
# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x31b0c18>,
#.......rf"=>#<Rake::DefaultLoader:0x31b0b88>,
# ".rake"=>#<Rake::DefaultLoader:0x31b0b10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=[... -
Rake
. application=(app) (6118.0) -
現在の Rake アプリケーションをセットします。
...tion のインスタンスを指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'pp'
task default: :test_rake_app
task :test_rake_app do
app = Rake::Application.new
app.tty_output = true
Rake.application = app
pp Rake.application
end
# => #<Rake::Application......@imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x00005624e6c30bc0>,
# ".rf"=>#<Rake::DefaultLoader:0x00005624e6c30b48>,
# ".rake"=>#<Rake::DefaultLoader:0x00005624e6c30a80>},
# @name="rake",
# @options=
# #<OpenStruct alway......prereqs=false, show_task_pattern=nil, show_tasks=nil, silent=false, suppress_backtrace_pattern=nil, thread_pool_size=20, trace=false, trace_output=#<IO:<STDERR>>, trace_rules=false>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile=nil,
# @rakefiles=["rakefile", "Ra... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) -> () (3024.0) -
サマリを指定された to へと加えていきます。
...arse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", "... -
OptionParser
# summarize(to = [] , width = self . summary _ width , max = width - 1 , indent= self . summary _ indent) {|line| . . . } -> () (3024.0) -
サマリを指定された to へと加えていきます。
...arse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.summarize
# => [" -i, --init\n", " -u, --update\n", " -h, --help\n"]
opts.summarize(["description\n"], 10, 8, " ")
# => ["description\n", " -i\n", "... -
Gem
:: Command # summary=(description) (314.0) -
コマンドの短い説明をセットします。
...コマンドの短い説明をセットします。
@param description コマンドの短い説明を指定します。... -
Kernel
# desc(description) -> String (314.0) -
直後の Rake タスクの説明を登録します。
...直後の Rake タスクの説明を登録します。
@param description 直後のタスクの説明を指定します。
例:
desc "Run the Unit Tests"
task :test => [:build] do
runtests
end... -
rss (270.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 0.90......れません。これ
は要素が子要素または属性を持つ場合も同様です。
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... -
NEWS for Ruby 2
. 7 . 0 (24.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...omparable#clampや定数やDSLなどで便利かもしれません。
14799
//emlist[][ruby]{
ary[..3] # identical to ary[0..3]
case RUBY_VERSION
when ..."2.4" then puts "EOL"
# ...
end
age.clamp(..100)
where(sales: ..100)
//}
* 「$;」にnil以外の値を設定すると警告が出る......さい。
* Rubyの上流リポジトリはSubversionからGitに変わりました。
* https://git.ruby-lang.org/ruby.git
* RUBY_REVISIONのクラスはIntegerからStringに変わりました。
* RUBY_DESCRIPTIONはSubversionのリビジョンの代わりにGitのリビジョン...