258件ヒット
[1-100件を表示]
(0.088秒)
種類
- インスタンスメソッド (110)
- ライブラリ (110)
- 定数 (22)
- 特異メソッド (11)
- 文書 (5)
ライブラリ
- ビルトイン (11)
-
net
/ imap (33) - optparse (22)
- rake (44)
-
rdoc
/ generator / ri (11) -
rubygems
/ command (11) -
rubygems
/ specification (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Specification (11) -
Net
:: IMAP :: BodyTypeBasic (11) -
Net
:: IMAP :: BodyTypeMessage (11) -
Net
:: IMAP :: BodyTypeText (11) - Object (11)
- OptionParser (22)
-
RDoc
:: Generator :: RI (11)
モジュール
- Kernel (11)
- Rake (11)
-
Rake
:: TaskManager (22)
キーワード
- DESCRIPTION (11)
-
NEWS for Ruby 2
. 7 . 0 (5) -
RUBY
_ DESCRIPTION (11) - application (11)
- desc (11)
-
last
_ comment (11) -
last
_ description (11) - optparse (11)
-
rake
/ gempackagetask (11) - rdoc (11)
- rss (11)
- rubygems (11)
-
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / server _ command (11) - summarize (22)
検索結果
先頭5件
-
Net
:: IMAP :: BodyTypeBasic # description -> String | nil (18233.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeMessage # description -> String | nil (18233.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
Net
:: IMAP :: BodyTypeText # description -> String | nil (18233.0) -
Content-Description の値を文字列で返します。
...Content-Description の値を文字列で返します。
@see 2045... -
Gem
:: Command # description -> String (18201.0) -
このメソッドはサブクラスで再定義されます。 コマンドが実行することを説明する文字列を返します。
このメソッドはサブクラスで再定義されます。
コマンドが実行することを説明する文字列を返します。 -
Gem
:: Specification # description -> String (18201.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Object
:: RUBY _ DESCRIPTION -> String (6207.0) -
Ruby の詳細を表す文字列。
...Ruby の詳細を表す文字列。
ruby -v で表示される内容が格納されています。... -
RDoc
:: Generator :: RI :: DESCRIPTION -> String (6201.0) -
このジェネレータの説明を表す文字列です。
このジェネレータの説明を表す文字列です。 -
Rake
:: TaskManager # last _ description -> String (3207.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
//}... -
NEWS for Ruby 2
. 7 . 0 (348.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...は参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリストは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.6.0 以降の変更
=== 言語仕様の変更
==== パターンマッチ
* パターンマ......=> [2, 3]
end
//}
//emlist[][ruby]{
case {a: 0, b: 1}
in {a: 0, x: 1}
:unreachable
in {a: 0, b: var}
p var #=> 1
end
//}
//emlist[][ruby]{
case -1
in 0 then :unreachable
in 1 then :unreachable
end #=> NoMatchingPatternError
//}
//emlist{
json = <<END
{
"name": "Alice",
"age": 30,
"child......y-lang.org/projects/ruby-master/wiki/C99
を参照してください。
* Rubyの上流リポジトリはSubversionからGitに変わりました。
* https://git.ruby-lang.org/ruby.git
* RUBY_REVISIONのクラスはIntegerからStringに変わりました。
* RUBY_DESCRIPTION... -
optparse (282.0)
-
コマンドラインのオプションを取り扱うためのライブラリです。
...以下はオプション -a, -b を受け付けるコマンドを作成する例です。
//emlist[sample.rb][ruby]{
require 'optparse'
opt = OptionParser.new
opt.on('-a') {|v| p v }
opt.on('-b') {|v| p v }
opt.parse!(ARGV)
p ARGV
//}
↓
ruby sample.rb -a foo bar -b baz
# => true......の例で、-b はオプションと
して認識されている)。ただし、環境変数 POSIXLY_CORRECT が定義してあると
この挙動は変更されます。
env POSIXLY_CORRECT=1 ruby ./sample.rb -a foo bar -b baz
# => true # -a はオプ......le.rb --version
# => sample 1.2.3
OptionParser#on の引数にそのオプションの説明を加えると --help の
出力に反映されます。
//emlist[][ruby]{
require 'optparse'
opt = OptionParser.new
opt.on('-a', 'description of -a') {|v| p v }
opt.on('-b', 'description of -b')...