ライブラリ
- ビルトイン (19)
-
rdoc
/ markdown (24) -
rubygems
/ specification (24)
クラス
-
Gem
:: Specification (24) -
RDoc
:: Markdown (24)
キーワード
- AbstractSyntaxTree (7)
- InstructionSequence (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
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) - Ruby用語集 (12)
-
add
_ dependency (12) -
add
_ runtime _ dependency (12) -
bigdecimal
/ ludcmp (12) -
bigdecimal
/ newton (12) - debug (12)
-
did
_ you _ mean (12) - find (12)
- github= (12)
-
minitest
/ mock (11) -
minitest
/ spec (11) -
minitest
/ unit (11) -
net
/ telnet (10) -
power
_ assert (12) -
rb
_ scan _ args (12) -
rdoc
/ markdown (12) -
rexml
/ document (12) -
test
/ unit (12) - xmlrpc (9)
- このマニュアルのヘルプ (12)
- 正規表現 (12)
検索結果
-
bigdecimal
/ ludcmp (6.0) -
LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。
...LU 分解を用いて、連立1次方程式 Ax = b の解 x を求める機能を提供します。
Ruby のソースコード中の以下のサンプルスクリプトも参考にしてください。
* https://github.com/ruby/ruby/blob/master/ext/bigdecimal/sample/linear.rb... -
bigdecimal
/ newton (6.0) -
ニュートン法を用いて非線形方程式 f(x) = 0 の解 x を求める機能を提供しま す。
...変更されます。x から解を取得します。
戻り値 n は計算した回数を整数で返します。
Ruby のソースコード中の以下のサンプルスクリプトも参考にしてください。
* https://github.com/ruby/ruby/blob/master/ext/bigdecimal/sample/nlsolve.rb... -
debug (6.0)
-
Ruby デバッガです。Ruby スクリプトのソースコードデバッグに使用します。
...スクリプトのソースコードデバッグに使用します。
また、Emacs を使用したインタフェース rubydb3x.el が
https://github.com/ruby/elisp にあるので、活用してください。
=== 使い方
$ ruby -rdebug foo.rb
または、Emacs から
M-x load-libra... -
did
_ you _ mean (6.0) -
名前のタイポによって NameError や NoMethodError が起きたと きに、自動的に他の似た名前を提案してくれるライブラリです。
...emファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/did_you_mean
* プロジェクトページ: https://github.com/ruby/did_you_mean
* リファレンス: https://www.rubydoc.info/gems/did_you_mean/... -
find (6.0)
-
ディレクトリ配下のファイルを探索するためのモジュールです。
...e "find"
include Find
find('/foo','/bar') {|f| ...}
以下は、ruby のアーカイブに含まれるサンプルスクリプト
(https://github.com/ruby/ruby/blob/master/sample/trojan.rb) をこのモジュールで書き換えたものです。
#! /usr/bin/env ruby
require "find"
#... -
int rb
_ scan _ args(int argc , const VALUE *argv , const char *fmt , . . . ) (6.0) -
長さ argc の配列 argv を fmt に従って 解析し、第四引数以降で渡されたアドレスに書き込みます。
...def some_method(a, b, opt = nil)
使用例 (2)
VALUE a, rest, block;
rb_scan_args(argc, argv, "1*&", &a, &rest, &block);
対応する Ruby プログラムでの宣言
def some_method(a, *rest, &block)
@see https://github.com/ruby/ruby/blob/master/doc/extension.ja.rdoc... -
minitest
/ mock (6.0) -
シンプルなモックライブラリです。
...gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest... -
minitest
/ spec (6.0) -
BDD 風にテストを書くためのクラスやメソッドを定義するためのライブラリです。
...gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest... -
minitest
/ unit (6.0) -
ユニットテストを行うためのライブラリです。
...gem(gemファイルのみを同梱)です。詳しい内容は下
記のページを参照してください。
* rubygems.org: https://rubygems.org/gems/minitest
* プロジェクトページ: https://github.com/seattlerb/minitest
* リファレンス: https://www.rubydoc.info/gems/minitest...