別のキーワード
ライブラリ
- csv (1)
- e2mmap (96)
- logger (1)
-
rake
/ gempackagetask (12) - rubygems (120)
-
rubygems
/ command (132) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / update _ command (12) -
rubygems
/ dependency (24) -
rubygems
/ dependency _ installer (48) -
rubygems
/ dependency _ list (36) -
rubygems
/ exceptions (168) -
rubygems
/ ext / configure _ builder (12) -
rubygems
/ ext / ext _ conf _ builder (12) -
rubygems
/ ext / rake _ builder (12) -
rubygems
/ format (24) -
rubygems
/ gem _ path _ searcher (36) -
rubygems
/ indexer (48) -
rubygems
/ installer (72) -
rubygems
/ old _ format (24) -
rubygems
/ package (60) -
rubygems
/ package / tar _ header (24) -
rubygems
/ package / tar _ input (72) -
rubygems
/ package / tar _ output (36) -
rubygems
/ package / tar _ reader (36) -
rubygems
/ package / tar _ writer (168) -
rubygems
/ platform (24) -
rubygems
/ remote _ fetcher (48) -
rubygems
/ requirement (48) -
rubygems
/ security (84) -
rubygems
/ server (12) -
rubygems
/ source _ index (84) -
rubygems
/ source _ info _ cache (24) -
rubygems
/ spec _ fetcher (12) -
rubygems
/ specification (1452) -
rubygems
/ uninstaller (24) -
rubygems
/ user _ interaction (312) -
rubygems
/ version (168) -
rubygems
/ version _ option (36)
クラス
- CSV (1)
-
Gem
:: Command (132) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: Dependency (24) -
Gem
:: DependencyInstaller (48) -
Gem
:: DependencyList (36) -
Gem
:: Ext :: ConfigureBuilder (12) -
Gem
:: Ext :: ExtConfBuilder (12) -
Gem
:: Ext :: RakeBuilder (12) -
Gem
:: FileOperations (12) -
Gem
:: Format (24) -
Gem
:: GemPathSearcher (36) -
Gem
:: Indexer (48) -
Gem
:: Installer (60) -
Gem
:: LoadError (24) -
Gem
:: OldFormat (24) -
Gem
:: Package :: TarHeader (24) -
Gem
:: Package :: TarInput (72) -
Gem
:: Package :: TarOutput (36) -
Gem
:: Package :: TarReader (24) -
Gem
:: Package :: TarWriter (96) -
Gem
:: Package :: TarWriter :: BoundedStream (24) -
Gem
:: Package :: TarWriter :: RestrictedStream (24) -
Gem
:: Platform (24) -
Gem
:: RemoteFetcher (36) -
Gem
:: Requirement (36) -
Gem
:: Security :: Policy (24) -
Gem
:: Server (12) -
Gem
:: SourceIndex (84) -
Gem
:: SourceInfoCache (24) -
Gem
:: SpecFetcher (12) -
Gem
:: Specification (1440) -
Gem
:: StreamUI (120) -
Gem
:: Uninstaller (24) -
Gem
:: Version (156) -
Rake
:: GemPackageTask (12)
モジュール
- Exception2MessageMapper (78)
- Gem (36)
-
Gem
:: DefaultUserInteraction (72) -
Gem
:: InstallUpdateOptions (24) -
Gem
:: LocalRemoteOptions (108) -
Gem
:: Package (12) -
Gem
:: QuickLoader (48) -
Gem
:: Security (48) -
Gem
:: UserInteraction (96) -
Gem
:: VersionOption (24) - Kernel (12)
キーワード
- <=> (12)
- === (12)
- =~ (12)
- Application (1)
- BoundedStream (12)
-
CURRENT
_ SPECIFICATION _ VERSION (12) - ClosedIO (12)
-
DEFAULT
_ OPTIONS (12) - DefaultUserInteraction (12)
- DependencyRemovalException (12)
- E2MM (6)
- EndOfYAMLException (12)
- ErrNotRegisteredException (6)
- Exception (24)
- Exception2MessageMapper (6)
- ExtensionBuildError (12)
- Fail (12)
- FetchError (12)
- FileOperations (12)
- FilePermissionError (12)
- FormatException (12)
- GemNotFoundException (12)
- GemNotInHomeException (12)
- GemVersions (12)
- InstallUpdateOptions (12)
- InvalidSpecificationException (12)
- LocalRemoteOptions (12)
-
MARSHAL
_ FIELDS (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) -
NONEXISTENT
_ SPECIFICATION _ VERSION (12) - NonSeekableIO (12)
- OperationNotSupportedError (12)
- Raise (12)
- ReFe (12)
- RemoteInstallationCancelled (12)
- RemoteInstallationSkipped (12)
- RemoteSourceException (12)
- Requirement (24)
- RestrictedStream (12)
- RubyGemsPackageVersion (12)
- RubyGemsVersion (12)
-
SPECIFICATION
_ VERSION _ HISTORY (12) - Specification (12)
- SpecificationCommand (12)
- SystemExitException (12)
- TODAY (12)
- UnexpectedEOF (12)
- UserInteraction (12)
- VerificationError (12)
- Version (12)
- VersionOption (12)
-
_ dump (12) -
_ load (12) - abbreviate (12)
-
accept
_ uri _ http (12) -
add
_ bindir (12) -
add
_ bulk _ threshold _ option (12) -
add
_ common _ option (12) -
add
_ dependency (12) -
add
_ development _ dependency (12) -
add
_ file (24) -
add
_ file _ simple (24) -
add
_ option (12) -
add
_ platform _ option (12) -
add
_ proxy _ option (12) -
add
_ runtime _ dependency (12) -
add
_ source _ option (12) -
add
_ spec (12) -
add
_ trusted _ cert (12) -
add
_ update _ sources _ option (12) -
add
_ version _ option (12) - alert (24)
-
alert
_ error (24) -
alert
_ warning (24) -
array
_ attribute (12) -
array
_ attributes (12) - ask (24)
-
ask
_ yes _ no (24) -
assign
_ defaults (12) - attribute (12)
-
attribute
_ alias _ singular (12) -
attribute
_ defaults (12) -
attribute
_ names (12) - attributes (12)
- autorequire (12)
- autorequire= (12)
- bind (6)
- bindir (12)
- bindir= (12)
- both? (12)
- build (36)
-
build
_ cert (12) -
build
_ extensions (12) -
build
_ self _ signed _ cert (12) - bump (12)
-
calculate
_ integers _ for _ gem _ version (12) -
cert
_ chain (12) -
cert
_ chain= (12) -
check
_ closed (12) -
choose
_ from _ list (24) - close (24)
- compress (12)
-
connection
_ for (12) - correct? (12)
- create (12)
- date (12)
- date= (12)
-
def
_ exception (12) -
default
_ executable (12) -
default
_ executable= (12) -
default
_ value (12) - dependencies (12)
-
dependency
_ order (12) -
dependent
_ gems (12) - description (24)
- description= (12)
-
development
_ dependencies (12) -
do
_ rubygems _ update (12) - email (12)
- email= (12)
- eql? (12)
- errs (12)
- executable (12)
- executable= (12)
- executables (12)
- executables= (12)
-
extend
_ object (6) - extensions (12)
- extensions= (12)
-
extra
_ rdoc _ files (12) -
extra
_ rdoc _ files= (12) - fail (6)
-
file
_ name (12) - files (12)
- files= (12)
- find (12)
-
find
_ all (12) -
find
_ name (24) -
find
_ spec _ by _ name _ and _ version (12) - flush (12)
- from (12)
-
from
_ io (24) -
from
_ yaml (12) -
full
_ gem _ path (12) -
full
_ name (12) -
gem
_ spec (12) - generate (1)
-
get
_ one _ optional _ argument (12) -
get
_ path (12) -
has
_ rdoc (12) -
has
_ rdoc= (12) -
has
_ rdoc? (12) -
has
_ test _ suite? (12) -
has
_ unit _ tests? (12) - homepage (12)
- homepage= (12)
-
init
_ gemspecs (12) - ins (12)
- install (24)
-
install
_ update _ defaults _ str (12) -
installation
_ path (12) -
installation
_ satisfies _ dependency? (12) -
lib
_ files (12) - list (12)
- load (12)
-
load
_ gemspec (12) -
load
_ specification (12) - loaded= (12)
- loaded? (12)
-
loaded
_ from (12) -
loaded
_ from= (12) - local? (12)
-
mark
_ version (12) -
marshal
_ dump (12) -
marshal
_ load (12) -
marshal
_ version (12) - mkdir (12)
- name (12)
- name= (12)
- new (156)
- normalize (12)
-
normalize
_ yaml _ input (12) - open (36)
-
open
_ uri _ or _ path (12) -
original
_ name (12) -
original
_ platform (12) -
original
_ platform= (12) - outs (12)
-
overwrite
_ accessor (12) - paranoid (12)
- platform (12)
- platform= (12)
- prerelease? (12)
-
push
_ all _ highest _ version _ gems _ on _ load _ path (12) -
push
_ gem _ version _ on _ load _ path (12) -
read
_ only (12) - release (12)
- remote? (12)
-
remove
_ by _ name (12) -
remove
_ option (12) -
remove
_ spec (12) -
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) -
required
_ attribute (12) -
required
_ attribute? (12) -
required
_ attributes (12) -
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) - requirements (12)
- requirements= (12)
- reset (12)
- rewind (12)
-
rubygems
/ commands / specification _ command (12) -
rubygems
/ exceptions (12) -
rubygems
/ specification (12) -
rubygems
/ user _ interaction (12) -
rubygems
/ version (12) -
rubygems
/ version _ option (12) -
rubygems
_ version (12) -
rubygems
_ version= (12) - run (12)
-
runtime
_ dependencies (12) - sanitize (12)
-
satisfied
_ by? (12) -
satisfies
_ requirement? (12) - say (12)
- search (36)
-
show
_ lookup _ failure (12) -
sign
_ cert (12) -
signing
_ key (12) -
signing
_ key= (12) - spec (48)
- specification (12)
-
specification
_ version (12) -
specification
_ version= (12) - summary (12)
- summary= (24)
-
terminate
_ interaction (24) -
test
/ unit (12) -
test
_ file (12) -
test
_ file= (12) -
test
_ files (12) -
test
_ files= (12) -
test
_ suite _ file (12) -
test
_ suite _ file= (12) -
to
_ ruby (12) -
to
_ s (12) -
trusted
_ cert _ path (12) - ui (24)
- ui= (24)
-
use
_ ui (24) - validate (12)
- version (48)
- version= (24)
-
version
_ requirement (12) -
version
_ requirement= (12) -
version
_ requirements (12) -
version
_ requirements= (12) -
warn
_ legacy (12) - write (24)
-
yaml
_ initialize (12) -
zipped
_ stream (12)
検索結果
先頭5件
-
NEWS for Ruby 2
. 0 . 0 (132.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...警告しなくなりました
=== 組み込みクラスの更新
* ARGF.class
* 追加: ARGF.class#codepoints, ARGF.class#each_codepoint
IO にある同名のメソッドに対応します
* Array
* 追加: Array#bsearch 二分探索します
* 非互換:
* Array#shuf......に似ています
* 拡張: Hash#default_proc= default proc をクリアするために nil を渡せるようになりました
* IO
* 非推奨: IO#lines, #bytes, #chars, #codepoints
* Kernel
* 追加: Kernel.#Hash という変換メソッド。Kernel.#Array, Kernel.#Float に......とんどのユーザーに影響はないでしょう。
* 注目すべき変更
* riがページをサポートしました。これはGemでも動作します。
//emlist{
# ruby に含まれるページリストを表示する
$ ri ruby:
# リテラルに関する文法を表示... -
NEWS for Ruby 3
. 1 . 0 (126.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...te def foo = puts "Hello" はパースされないことに注意してください。 17398
== コマンドラインオプション
* --disable-gems は"デバッグ専用"として明示的に宣言されました。デバッグ専用以外のコードでは使用しないでください。 17......rependしている場合、継承ツリーを変更しません。 17423
* Module#private, Module#public, Module#protected, Module#module_functionが引数を返すようになりました。引数が1つでも渡されている場合、それが返されます。引数なしの場合、nilが......のコアメソッドです。このメソッドを直接呼び出さないでください。既存のforkメソッド(Kernel.#fork、Process.fork、IO.popen("-"))によって呼び出されます。アプリケーションモニタリングライブラリは、このメソッドを上書きしてfo... -
NEWS for Ruby 2
. 3 . 0 (114.0) -
NEWS for Ruby 2.3.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...うとして RuntimeError が発生したときにそのオブジェクトが生成された位置を表示します。
11725
* safe navigation operator (ぼっち演算子):
* object&.foo という形式のメソッド呼び出し形式が追加されました。これは object が ni......bar() は条件付きで評価されます
//}
* 属性値の代入にも使えます
//emlist{
obj&.attr += 1
//}
* did_you_mean gem:
* 名前のタイポによって NameError や NoMethodError が起きたときに、自動的に他の似た名前を提案してくれます......キュメントが追加されました
9098
=== 組み込みクラスの更新
* ARGF
* ARGF.read_nonblock は IO#read_nonblock と同じように `exception: false' オプションをサポートします
11358
* Array
* Array#bsearch_index を追加
10730
* Ar... -
CSV
. generate(str = "" , options = Hash . new) {|csv| . . . } -> String (106.0) -
このメソッドは与えられた文字列をラップして CSV のオブジェクトとしてブロックに渡します。 ブロック内で CSV オブジェクトに行を追加することができます。 ブロックを評価した結果は文字列を返します。
...引数 str を与えた場合の動作に問題があ
るため、指定したい場合は csv gem を 1.0.1 以上に更新する必
要があります。
@param options CSV.new のオプションと同じオプションを指定できます。
:encoding とい... -
NEWS for Ruby 2
. 7 . 0 (96.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以外の値を設定すると警告が出る......重代入でのrescue修飾子が単一の代入と同じ振る舞いになりました。 8279
//emlist[][ruby]{
a, b = raise rescue [1, 2]
# Previously parsed as: (a, b = raise) rescue [1, 2]
# Now parsed as: a, b = (raise rescue [1, 2])
//}
* 特異クラス構文での yield は警......le_evalするようになりました。
* ERB
* ERBのインスタンスをMarshalできないようになりました。
* IRB
* Pry gem に着想を得て、Binding#irbのソース表示、REPLの入力、
いくつかのコアクラスオブジェクトのinspect出力に... -
NEWS for Ruby 2
. 2 . 0 (84.0) -
NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...た。
* 改善: メジャーGCにインクリメンタルマーキングを導入しました。 10137
* IO
* 改善: Windows上でパイプのための IO#read_nonblock, IO#write_nonblock をサポートしました。
* Kernel
* 追加: Kernel.#itself(Object#itself)
* 改善......るポリシーを変更しました 10315
{ **hash1, **hash2 } は重複するキーについては hash2 の値を持ちます
* IO
* 非互換: IO#flush を使ったとき、ファイルのメタデータが即時更新されることを仮定できなくなりました。
い......tp://docs.seattlerb.org/rake/History_rdoc.html#label-10.4.0
* rubygems
* RubyGems 2.4.2 になりました。リリースノートの全てはリンク先を参照してください。
http://docs.seattlerb.org/rubygems/History_txt.html#label-2.4.2+%2F+2014-10-01
* tsort
* TSort.... -
NEWS for Ruby 2
. 1 . 0 (78.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...i'という接尾辞を付けられるようになりました
//emlist{
# r を付けると有理数になる
42r # => Rational(42, 1)
3.14 # => 3.14.rationalize
6.022e+23r # 指数形式と一緒には使えない
# i を付けると虚数単位 i を掛けた数になる......_defined?
* Enumerable
* 追加: Enumerable#to_h キーと値のペアのリストをハッシュに変換します。
* Exception
* 追加: Exception#cause 一つ前の例外を新しい例外を返します。
例外を rescue して raise しなおしたときに元の例外......tring#scrub! 不正なバイト列を検証して修正します。
古いバージョンのRubyと一緒に使いたいときは string-scrub gem を使います。
* Symbol
* 全てのシンボルは freeze されるようになりました
* pack/unpack (Array/String)
* プラ... -
NEWS for Ruby 3
. 0 . 0 (78.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now matches the behavior of Procs......by]{
pr = proc{|*a, **kw| [a, kw]}
pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]
pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}
* Arguments forwarding (`...`) now supports leading arguments.
16378
//emlist{
def method_missing(meth, .........ruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline
* Update to Reline 0.1.5
* RubyGems
* Update to RubyGems 3.2.3
* StringIO
* Update to StringIO 3.0.0
* This version is Ractor comp... -
NEWS for Ruby 2
. 4 . 0 (54.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...けるようになりました。
half には :even, :up, :down が指定可能です。 12548 12958 12953
* IO
* IO#gets, IO#readline, IO#each_line, IO#readlines, IO.foreach は
chomp というキーワード引数を受け付けるようになりました。12553
* Kernel......S 10.12 から導入された CLOCK_MONOTONIC_RAW_APPROX, CLOCK_UPTIME_RAW,
CLOCK_UPTIME_RAW_APPROX をサポートしました
* Rational
* Rational#round は half というキーワード引数を受け付けるようになりました。12548 12958
half には :even, :up, :down......デフォルトGemとして残っています。
* optparse
* OptionParser#parseやOptionParser#orderにキーワード引数 into を追加 11191
* pathname
* Pathname#empty? を追加 12596
* readline
* Readline.quoting_detection_proc, Readline.quoting_detection_proc= を追... -
NEWS for Ruby 2
. 5 . 0 (42.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...非推奨になりました。C拡張のベースクラスでしたが、Rubyレベルに公開するのをやめました。3072
* Exception
* Exception#full_message を追加 14141 [実験的]
例外の文字列表現を取得します。その文字列は捕捉されない例外をRu......ンを指定するとテキストモードになります 13350
* File#path はFile::Constants::TMPFILE付きで開いたファイルに対して IOError を発生させます
13568
* File.stat, File.exist? など rb_stat() を使用しているメソッドではGVLを解放するよ......tion
https://github.com/ruby/psych/pull/326
* Make frozen string literal = true
https://github.com/ruby/psych/pull/320
* Preserve time zone offset when deserializing times
https://github.com/ruby/psych/pull/316
* Remove deprecated method aliases for syck gem... -
ReFe (18.0)
-
ReFe ReFeについては http://i.loveruby.net/ja/prog/refe.html をご覧ください。
...については
http://i.loveruby.net/ja/prog/refe.html
をご覧ください。
=== Gems版
Gemsをお使いの方は、以下のコマンドを実行する事でインストールできます。
(41478)
$ gem install refe2
以下のコマンドでデータベースを構築します。......class_document/ method_document/
class_document_comp method_document_comp
(4) 後は使うだけです。
refe IO puts
IO#puts
--- puts([obj[, ...]])
各 obj を self に出力した後、改行します。
引数の扱いは pu... -
test
/ unit (18.0) -
ユニットテストを行うためのライブラリです。
...ブラリは 2.2.0 からbundled gem(gemファイルのみを同梱)になりまし
た。詳しい内容は下記のプロジェクトページを参照してください。
* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/
なお、2.2.0より前のtest/u......conds.
1) Failure:
test_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.
2 tests, 2 assertions, 1 failures, 0 errors, 0 skips
test_bar だけテストしたい場合は以下のようなオプションを与えます。
$ ruby test......<"foo">.
1 tests, 1 assertions, 1 failures, 0 errors, 0 skips
--name=test_barのような指定は行えません。
以下のようにすると help も表示されます。
$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-h, --help... -
NEWS for Ruby 2
. 6 . 0 (12.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...れるときに、
例外の Exception#cause も表示されるようになりました。 8257
* フリップフロップが非推奨になりました。 5400
=== 組み込みクラスの更新
* Array
* 新規メソッド
* Array#union と Array#difference 14097
* 変更......* Array#filter! が Array#select! の別名として追加されました。 13784
* Binding
* 新規メソッド
* Binding#source_location 追加 14230
* bindingのソースコード上の位置を __FILE__ と __LINE__ の二要素配列として返します。
従......nknown_element, :parser_class オプションが利用可能です。
* RubyGems
* RubyGems 3.0.1 に更新されました。
* https://blog.rubygems.org/2018/12/19/3.0.0-released.html
* https://blog.rubygems.org/2018/12/23/3.0.1-released.html
* Set
* 別名
* Set#filter!...