種類
- インスタンスメソッド (66)
- 文書 (60)
- ライブラリ (33)
- クラス (11)
- 特異メソッド (11)
ライブラリ
クラス
-
Gem
:: Specification (11) -
RDoc
:: Markup :: ToHtmlCrossref (11) -
RDoc
:: Options (55)
キーワード
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (3) - Options (11)
- Ruby用語集 (11)
-
extra
_ rdoc _ files= (11) - new (11)
-
page
_ dir (11) -
rdoc
/ generator / json _ index (11) - root (11)
-
ruby 1
. 8 . 4 feature (11) - rubygems (11)
-
sanitize
_ path (11) -
static
_ path (11) -
static
_ path= (11)
検索結果
先頭5件
-
RDoc
:: Options # root -> Pathname (3100.0) -
コマンドライン引数の --root オプションで指定したディレクトリを返します。
コマンドライン引数の --root オプションで指定したディレクトリを返します。
指定されていない場合はカレントディレクトリを返します。 -
NEWS for Ruby 2
. 0 . 0 (72.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ect は #to_s を呼び出さなくなりました。再定義された #to_s を呼び出すためです。
* LoadError
* 追加: LoadError#path ロードできなかったファイルのパスを返します
* Module
* 追加: Module#prepend 指定したモジュールを self の継......uctionSequence.of to get the instruction sequence
from a method or a block.
* 追加: RubyVM::InstructionSequence#path,
RubyVM::InstructionSequence#absolute_path,
RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#base_label,
RubyVM::InstructionSequence#......mpatible with previous rake versions and
contains many bug fixes.
* See http://rake.rubyforge.org/doc/release_notes/rake-0_9_5_rdoc.html
* rdoc
* 4.0 に更新
* 後方互換性に関する大きな変更がありました。注目すべき最大の変更は ri データ... -
ruby 1
. 8 . 4 feature (66.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
...* ((<ruby 1.8.4 feature/Readline [bug]>))
* ((<ruby 1.8.4 feature/Syck [bug]>))
* ((<ruby 1.8.4 feature/irb [bug]>))
* ((<ruby 1.8.4 feature/RDoc [bug]>))
* ((<ruby 1.8.4 feature/Win32API [bug]>))
* ((<ruby 1.8.4 feature/Rinda [bug]>))
* ((<ruby 1.8.4 feature/Iconv [compat]>))
* ((<ru......5 NAKAMURA Usaku <usa@ruby-lang.org>
#
# * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
#
# * test/ruby/test_path.rb (test_dirname, test_basename): follow new
# spec. and add new tests.
UNCパスに対するFile.dirname・File.basename・File.split......* file.c (rb_file_s_dirname): added checks for some patterns with drive
# letter. fixed: [ruby-dev:27738]
#
# * test/ruby/test_path.rb (test_dirname): added tests for above
# patterns.
ドライブレターを含むパスに対するFile.dirnameの問題を修正し... -
NEWS for Ruby 2
. 5 . 0 (42.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...になりました 11286
* File
* File.open :newline オプションを指定するとテキストモードになります 13350
* File#path はFile::Constants::TMPFILE付きで開いたファイルに対して IOError を発生させます
13568
* File.stat, File.exist? など......つか読み込んでから、Coverage.result を使って結果を取得することができます。
//emlist[][ruby]{
Coverage.result
#=> { "/path/to/file.rb"=>
# { :lines => [1, 2, 0, nil, ...],
# :branches =>
# { [:if, 0, 2, 1, 6, 4] =>
# { [:then, 1, 3, 2, 3, 8]......* Ripper#state を追加。スキャナーの状態を伝えるためです。13686
* rdoc
* RDoc 6.0.1 に更新
* Replace IRB based lexer with Ripper.
* https://github.com/ruby/rdoc/pull/512
* This much improves the speed of generating documents.
* It also... -
NEWS for Ruby 2
. 1 . 0 (36.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...clear
* 追加: ObjectSpace.#allocation_sourcefile
* 追加: ObjectSpace.#allocation_sourceline
* 追加: ObjectSpace.#allocation_class_path
* 追加: ObjectSpace.#allocation_method_id
* 追加: ObjectSpace.#allocation_generation
* 追加: ObjectSpace.#reachable_objects_from_......に)
* Pathname
* 追加: Pathname#write
* 追加: Pathname#binwrite
* rake
* 10.1.0 に更新しました。古い名前空間を削除しました。また、古い rake の機能も削除しました。
http://rake.rubyforge.org/doc/release_notes/rake-10_1_0_rdoc.html......e-10_0_3_rdoc.html
* rbconfig
* 追加: RbConfig::SIZEOF C の型のサイズを提供するために追加しました。
* rdoc
* 4.1.0 に更新。主にデフォルトのテンプレートとアクセシビリティを改善しました。
https://github.com/ruby/rdoc/blob/v4... -
rubygems (36.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...s.require_path = 'lib'
s.has_rdoc = false
s.extra_rdoc_files = ['README']
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
//}
@see Gem::Specification, rake
=== gem コマンドの設定
* GEM_HOME Gem のホームディレクトリ
* GEM_PATH Gem のサ......ーチパス
* $HOME/.gemrc
環境変数 GEM_HOME, GEM_PATH を設定する事によって Gem コマンドの動作を変更することができます。
また、ホームディレクトリに .gemrc という YAML フォーマットで書かれたファイルを置くことでも
動作を変......hold: 1000
:sources:
- https://rubygems.org
:update_sources: true
:verbose: true
gemhome: /home/hoge/.gems
gempath:
- /usr/local/lib/ruby/gems/1.9
gem: --no-rdoc --no-ri
=== 参考
: Rubyist Magazine - シリーズ パッケージマネジメント 【第 1 回】 RubyGems (1)
h... -
NEWS for Ruby 2
. 6 . 0 (24.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...proc やメソッドに対応する AST ノードを返します。 [実験的]
* RubyVM
* 新規メソッド
* RubyVM.resolve_feature_path は "require(feature)" で読み込むファイルを
特定します。 [実験的] 15230
* String
* String#crypt は非推奨に......名称だったため。 14688
* NKF
* nkf v2.1.5 に更新されました。
* Psych
* Psych 3.1.0 に更新されました。
* RDoc
* 約2倍高速化されました。
* ファイル生成に SOURCE_DATE_EPOCH を使うようになりました。
* メソッドの行......い。
* いくつかの XPath 実装を改善:
* concat() 関数: 結合前に全ての引数を文字列化
* string() 関数: コンテキストノードをサポート
* string() 関数: 処理命令 (PI) ノードをサポート
* XPath 2.0 で"*:#{ELEMENT_NAME}" 記... -
NEWS for Ruby 3
. 1 . 0 (24.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...コールバック中に再入を許す TracePoint.allow_reentry が追加されました。 15912
* $LOAD_PATH
* 変更されたメソッド
* $LOAD_PATH.resolve_feature_path が失敗時に例外を発生させなくなりました。 16043
* Fiber Scheduler
* 変更された......* nkf 0.1.1
* open-uri 0.2.0
* openssl 3.0.0
* optparse 0.2.0
* ostruct 0.5.2
* pathname 0.2.0
* pp 0.3.0
* prettyprint 0.1.1
* psych 4.0.3
* racc 1.6.0
* rdoc 6.4.0
* readline 0.0.3
* readline-ext 0.1.4
* reline 0.3.0
* resolv 0.2.1
* rin... -
Ruby用語集 (18.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...env
: RD(Ruby Document format)
Ruby スクリプト中に記述することを念頭に作られたドキュメントフォーマット。
: RDoc
Ruby スクリプトからそのスクリプトのドキュメントを生成するシステム。
クラス、モジュール、メソッド......に所定の方法で記述された
コメントを抽出して処理し、合わせてドキュメントの HTML を生成する。
参照:rdoc
: refinement
既存のクラスやモジュールを特定のスコープでのみ改変する仕組み。
参照:Module#refine、Module#us......成する
文字としては特別扱いされない。
ただしパス名には使えず、ヌル文字を含んだ文字列を File.open や
Pathname.new に与えると ArgumentError が発生する。
他の言語では文字列の終端を意味することがあるので、文字列...