1890件ヒット
[1-100件を表示]
(0.104秒)
ライブラリ
- ビルトイン (1062)
- benchmark (12)
-
cgi
/ core (24) - csv (120)
- dbm (12)
- gdbm (12)
- matrix (96)
-
net
/ smtp (84) - openssl (24)
- optparse (12)
- ostruct (24)
- rake (36)
- readline (36)
-
rexml
/ document (60) -
rubygems
/ platform (12) - sdbm (12)
- set (9)
- shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (30) - socket (24)
-
webrick
/ httputils (12) -
yaml
/ dbm (12)
クラス
-
ARGF
. class (96) - Array (168)
-
Benchmark
:: Tms (12) - CSV (24)
-
CSV
:: FieldInfo (12) -
CSV
:: Row (24) -
CSV
:: Table (60) - DBM (12)
- Enumerator (67)
-
Enumerator
:: Chain (7) -
Enumerator
:: Lazy (12) - GDBM (12)
-
Gem
:: Platform (12) - Hash (12)
- MatchData (110)
- Matrix (36)
-
Matrix
:: EigenvalueDecomposition (24) -
Matrix
:: LUPDecomposition (24) -
Net
:: SMTP (84) - NilClass (12)
- Object (24)
-
OpenSSL
:: X509 :: Extension (12) -
OpenSSL
:: X509 :: Name (12) - OpenStruct (24)
- OptionParser (12)
-
REXML
:: Attributes (12) -
REXML
:: Element (12) -
REXML
:: Elements (12) -
REXML
:: Parent (24) -
Rake
:: FileList (36) - Range (14)
- Regexp (24)
-
RubyVM
:: InstructionSequence (12) - SDBM (12)
- Set (12)
- Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (30) - Socket (12)
- String (176)
- Struct (30)
- Time (108)
- Vector (12)
-
WEBrick
:: HTTPUtils :: FormData (12) -
YAML
:: DBM (12)
モジュール
-
CGI
:: QueryExtension :: Value (24) - Enumerable (163)
- Kernel (12)
- Readline (12)
-
Socket
:: Constants (12)
オブジェクト
- ENV (12)
-
Readline
:: HISTORY (12)
キーワード
- + (7)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (24)
- == (12)
- Array (12)
-
IPPROTO
_ AH (24) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Readline (12)
- [] (48)
- bytes (24)
- captures (12)
- cat (18)
- chain (7)
- chars (24)
- children (12)
- chunk (12)
-
chunk
_ while (12) - codepoints (24)
-
col
_ sep (12) - combination (24)
- deconstruct (8)
- delete (12)
-
delete
_ at (12) -
delete
_ if (12) - each (72)
-
each
_ byte (24) -
each
_ codepoint (24) -
each
_ grapheme _ cluster (16) -
each
_ line (24) -
each
_ pair (24) - echo (18)
- entries (19)
- force (12)
-
get
_ elements (12) - glob (18)
- gm (24)
-
grapheme
_ clusters (16) -
header
_ converters (12) -
irb
/ completion (12) - length (12)
- line (12)
- lines (24)
- local (24)
- match (24)
-
max
_ by (48) - mktime (24)
- new (31)
- permutation (24)
- rake (12)
-
rb
_ Array (12) - rcptto (12)
-
rcptto
_ list (12) -
rdoc
/ markup / to _ ansi (12) - readline (12)
- readlines (36)
- ready (12)
-
repeated
_ combination (24) -
repeated
_ permutation (24) -
ruby 1
. 6 feature (12) - rubygems (12)
- sample (48)
-
send
_ mail (12) - sendmail (12)
- size (24)
-
slice
_ after (24) -
slice
_ before (24) -
slice
_ when (12) - tee (18)
-
to
_ ary (84) - utc (24)
- values (12)
-
values
_ at (12) - メソッド呼び出し(super・ブロック付き・yield) (12)
検索結果
先頭5件
-
rdoc
/ markup / to _ ansi (32000.0) -
RDoc 形式のドキュメントを ANSI エスケープシーケンスで色付けするサブライ ブラリです。
...RDoc 形式のドキュメントを ANSI エスケープシーケンスで色付けするサブライ
ブラリです。
require 'rdoc/markup/to_ansi'
h = RDoc::Markup::ToAnsi.new
puts h.convert(input_string)
変換した結果は文字列で取得できます。... -
VALUE rb
_ Array(VALUE obj) (26116.0) -
obj が Array でない場合は to_a を使って Array に変換します。
...obj が Array でない場合は to_a を使って
Array に変換します。... -
rake (26018.0)
-
Rake というコマンドラインツールを扱うライブラリです。
...Rake というコマンドラインツールを扱うライブラリです。
=== Rake とは
Rake は Make によく似た機能を持つ Ruby で書かれたシンプルなビルドツールです。
Rake は以下のような特徴を持っています。
* Rakefile (Rake における Makef......ile) は標準的な Ruby の文法で書くことができます。
XML ファイルを編集する必要はありませんし、Makefile の風変わりな文法 (タブだっけ?スペースだっけ?) に頭を悩ませる必要もありません。
* ユーザは必須条件をタス......ault => [:test]
1.upto(8) do |n|
Rake::TestTask.new("test_step#{n}") do |t|
t.libs << "step#{n}"
t.test_files = FileList["step#{n}/test_*.rb"]
t.verbose = false
end
end
desc 'execute all test'
task 'test_all' => (1..8).to_a.map{|n| "test_step#{n}"}
=== 用語... -
rubygems (26018.0)
-
RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。
===[a:gem_command] gem コマンドの使い方
$ gem help
RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ......的なヘルプメッセージです。
使用方法:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]
例:
gem install rake
gem list --local
gem build package.gemspec
gem help install
さらに......o'
s.version = '0.0.1'
s.author = 'Hello Author'
s.email = 'hello@example.com'
s.homepage = 'http://example.com/hello'
s.platform = Gem::Platform::RUBY
s.summary = 'Hello Gem'
s.files = PKG_FILES.to_a
s.require_path... -
RubyVM
:: InstructionSequence # to _ a -> Array (24207.0) -
self の情報を 14 要素の配列にして返します。
...フォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データフォーマットを示す......構成される Hash オブジェクト。
:arg_size: メソッド、ブロックが取る引数の総数(1 つもない場合は 0)。
:local_size: ローカル変数の総数 + 1。
:stack_max: スタックの深さ。(SystemStackError を検出するために使用)
: #label......rescue、next、redo、break など)の一覧。
: bytecode
命令シーケンスを構成する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YAR... -
REXML
:: Parent # to _ a -> [REXML :: Child] (24201.0) -
子ノード列の配列を返します。
子ノード列の配列を返します。 -
Matrix
:: EigenvalueDecomposition # to _ a -> [Matrix , Matrix , Matrix] (21401.0) -
Matrix::EigenvalueDecomposition#v, Matrix::EigenvalueDecomposition#d, Matrix::EigenvalueDecomposition#v_inv をこの順に並べた配列を返します。
...Matrix::EigenvalueDecomposition#v,
Matrix::EigenvalueDecomposition#d,
Matrix::EigenvalueDecomposition#v_inv
をこの順に並べた配列を返します。... -
Matrix
:: LUPDecomposition # to _ a -> [Matrix , Matrix , Matrix] (21401.0) -
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。 -
Array
# to _ a -> Array (21225.0) -
self を返します。ただし、Array のサブクラスのインスタンスに対して呼ばれた時は、 自身を Array に変換したものを返します。
...し、Array のサブクラスのインスタンスに対して呼ばれた時は、
自身を Array に変換したものを返します。
//emlist[例][ruby]{
class SubArray < Array; end
ary1 = Array([1, 2, 3, 4])
ary2 = SubArray([1, 2, 3, 4])
ary1.to_a # => [1, 2, 3, 4]
ary1.to_a.class......# => Array
ary2.to_a # => [1, 2, 3, 4]
ary2.to_a.class # => Array
//}
@see Array#to_ary...