別のキーワード
種類
ライブラリ
- English (3)
- ビルトイン (86)
- abbrev (1)
- csv (7)
- delegate (1)
- expect (2)
- fileutils (1)
- json (10)
- matrix (7)
- observer (1)
- open3 (1)
- openssl (3)
- optparse (3)
- pathname (1)
- rake (6)
-
rexml
/ document (1) - rubygems (2)
-
rubygems
/ commands / update _ command (1) -
rubygems
/ commands / which _ command (2) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ ext / configure _ builder (1) -
rubygems
/ ext / ext _ conf _ builder (1) -
rubygems
/ ext / rake _ builder (1) -
rubygems
/ format (1) -
rubygems
/ gem _ path _ searcher (2) -
rubygems
/ old _ format (1) -
rubygems
/ platform (1) -
rubygems
/ requirement (1) -
rubygems
/ security (1) -
rubygems
/ source _ index (2) -
rubygems
/ source _ info _ cache (1) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (14) - scanf (6)
- set (2)
- shell (5)
-
shell
/ command-processor (1) -
shell
/ filter (1) - socket (3)
-
webrick
/ httpserver (1) -
webrick
/ httputils (2)
クラス
- Array (45)
- CSV (4)
-
CSV
:: Row (2) -
CSV
:: Table (1) -
Encoding
:: Converter (2) - Enumerator (2)
-
Gem
:: Commands :: UpdateCommand (1) -
Gem
:: Commands :: WhichCommand (2) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (1) -
Gem
:: Ext :: ConfigureBuilder (1) -
Gem
:: Ext :: ExtConfBuilder (1) -
Gem
:: Ext :: RakeBuilder (1) -
Gem
:: Format (1) -
Gem
:: GemPathSearcher (2) -
Gem
:: OldFormat (1) -
Gem
:: Platform (1) -
Gem
:: Requirement (1) -
Gem
:: Security :: Policy (1) -
Gem
:: SourceIndex (2) -
Gem
:: SourceInfoCache (1) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (14) - Hash (2)
- IO (4)
- IPSocket (1)
-
JSON
:: State (5) - MatchData (5)
- Matrix (5)
- Object (4)
-
OpenSSL
:: X509 :: ExtensionFactory (3) - OptionParser (3)
- Pathname (1)
-
REXML
:: Element (1) -
Rake
:: Application (2) -
Rake
:: FileList (2) - Random (3)
- Range (1)
- Rational (2)
- Regexp (1)
- Set (2)
- Shell (5)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
Socket
:: Option (1) - String (5)
- UDPSocket (1)
- Vector (2)
-
WEBrick
:: HTTPServer :: MountTable (1) -
WEBrick
:: HTTPUtils :: FormData (2)
モジュール
- Enumerable (16)
- FileUtils (2)
- Gem (2)
- JSON (2)
-
JSON
:: Generator :: GeneratorMethods :: Array (1) - Kernel (6)
- Observable (1)
- Open3 (1)
キーワード
-
$ INPUT _ RECORD _ SEPARATOR (1) -
$ OUTPUT _ FIELD _ SEPARATOR (1) -
$ RS (1) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - ArgumentError (1)
-
DEFAULT
_ IGNORE _ PATTERNS (1) -
DEFAULT
_ RAKEFILES (1) -
DELEGATING
_ METHODS (1) - DelegateClass (1)
- Enumerator (1)
- Marshal フォーマット (1)
-
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (1)
-
WIN
_ PATTERNS (1) - [] (7)
- abbrev (1)
-
add
_ attributes (1) -
add
_ bindir (1) -
add
_ observer (1) - addr (1)
-
array
_ attribute (1) -
array
_ attributes (1) -
array
_ nl (1) -
array
_ nl= (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - bsearch (2)
-
bsearch
_ index (1) - build (3)
-
cert
_ chain (1) - coerce (2)
- collect (2)
- collect! (1)
- collect2 (1)
-
collect
_ concat (2) -
column
_ vector (1) - combination (2)
- concat (3)
- convpath (1)
-
create
_ ext _ from _ array (1) -
create
_ extension (2) - cycle (1)
-
default
_ system _ path (1) -
default
_ system _ path= (1) -
delete
_ at (1) -
delete
_ if (1) - dependencies (1)
-
dependent
_ gems (1) -
development
_ dependencies (1) - diagonal (1)
-
drop
_ while (2) - each (1)
- each2 (1)
-
each
_ index (1) -
enum
_ for (2) - expect (2)
- fetch (1)
-
fiddle
/ import (1) - fields (1)
-
file
_ entries (2) - find (1)
-
find
_ all (1) -
find
_ index (1) -
find
_ matching (1) -
find
_ paths (1) -
flat
_ map (2) - flatten (3)
- flatten! (2)
-
gather
_ dependencies (1) -
gem
_ paths (1) - generate (1)
-
generate
_ line (1) - grep (2)
- index (1)
-
keep
_ if (1) -
latest
_ specs (1) - list (2)
- map (2)
- map! (1)
-
mark
_ locations _ array (1) -
marshal
_ dump (1) -
max
_ by (2) -
min
_ by (2) - mkdir (3)
- mkpath (1)
- new (1)
-
next
_ values (1) - on (3)
- outdated (1)
- pack (2)
- pack テンプレート文字列 (1)
- path (1)
-
pathmap
_ explode (1) -
peek
_ values (1) - permutation (2)
- pipeline (1)
- rand (3)
-
rb
_ f _ array (1) - read (1)
- readlines (1)
-
recvfrom
_ nonblock (1) - reject (2)
- reject! (1)
-
remove
_ by _ name (1) -
repeated
_ combination (2) -
repeated
_ permutation (2) -
required
_ attributes (1) - requirements (1)
-
reverse
_ each (1) - rindex (1)
- rotate (1)
- rotate! (1)
-
row
_ vector (1) -
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 2 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby 1
. 9 feature (1) -
runtime
_ dependencies (1) - scan (1)
- scanf (6)
-
search
_ convpath (1) -
search
_ with _ source (1) - select (1)
- select! (1)
-
sort
_ by (1) -
sort
_ by! (1) - split (1)
-
split
_ all (1) -
system
_ path (1) -
system
_ path= (1) - table (1)
-
take
_ while (2) -
to
_ a (2) -
to
_ ary (1) -
to
_ enum (2) -
to
_ h (1) -
to
_ hash (1) -
to
_ json (1) -
top
_ level _ tasks (1) - union (1)
- unpack (2)
- unpack1 (1)
- unparse (1)
-
values
_ at (5) -
verify
_ gem (1) -
which
_ to _ update (1) - yaml (1)
- 制御構造 (1)
検索結果
-
NEWS for Ruby 2
. 4 . 0 (235.0) -
NEWS for Ruby 2.4.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...NEWS for Ruby 2.4.0
このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
それぞれのエントリーは参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリス......* Regexp#match? を追加 8110
true/false を返し、バックリファレンスを生成しません。
* Onigmo 6.0.0 に更新 (Ruby 2.4.0)
* Onigmo 6.1.1 に更新 (Ruby 2.4.1)
* 非包含オペレータ(absence operator)をサポートしました https://github.com/k-taka... -
yaml (181.0)
-
構造化されたデータを表現するフォーマットであるYAML (YAML Ain't Markup Language) を扱うためのライブラリです。
構造化されたデータを表現するフォーマットであるYAML (YAML Ain't Markup Language) を扱うためのライブラリです。
//emlist[例1: 構造化された配列][ruby]{
require 'yaml'
data = ["Taro san", "Jiro san", "Saburo san"]
str_r = YAML.dump(data)
str_l = <<~YAML_EOT
---
- Taro san
- Jiro san
- Saburo san
YAML_EOT
p str_r == str_l # => true
//}
... -
fiddle
/ import (91.0) -
fiddle ライブラリのための高レベルインターフェースを提供するライブラリです。
fiddle ライブラリのための高レベルインターフェースを提供するライブラリです。
通常は fiddle ライブラリを使わずこの fiddle/import ライブラリを使います。
主な使い方は fiddle も参照してください。
=== 高度な使用法
==== ○○の配列を関数に渡したい
例えば与えられた長さ len の double の配列の和を計算する関数
double sum(double *arry, int len);
があったとします。これを呼び出したい場合は以下のように Array#pack を使用します。
require 'fiddle/import'
m... -
制御構造 (91.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
制御構造
条件分岐:
* if
* unless
* case
繰り返し:
* while
* until
* for
* break
* next
* redo
* retry
例外処理:
* raise
* begin
その他:
* return
* BEGIN
* END
Rubyでは(Cなどとは異なり)制御構造は式であって、何らかの値を返すものが
あります(返さないものもあります。値を返さない式を代入式の右辺に置くと
syntax error になります)。
R... -
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (85.0)
-
Rubyで使われる記号の意味(正規表現の複雑な記号は除く) ex q num per and or plus minus ast slash hat sq period comma langl rangl eq tilde dollar at under lbrarbra lbra2rbra2 lbra3rbra3 dq colon ac backslash semicolon
Rubyで使われる記号の意味(正規表現の複雑な記号は除く)
ex q num per and or
plus minus ast slash hat sq
period comma langl rangl eq tilde
dollar at under lbrarbra
lbra2rbra2 lbra3rbra3 dq colon ac
backslash semicolon
===[a:ex] !
: !true
not 演算子。d:spec/operator#notを参照。
: 3 != 5
「等しくない」比較演算子。d:spec/operator#notを参... -
ArgumentError (55.0)
-
引数の数があっていないときや、数は合っていて、期待される振る舞いを持ってはいるが、期待される値ではないときに発生します。
引数の数があっていないときや、数は合っていて、期待される振る舞いを持ってはいるが、期待される値ではないときに発生します。
例:
Time.at # => wrong number of arguments (given 0, expected 1..2) (ArgumentError)
Array.new(-1) # => negative array size (ArgumentError)
など
@see TypeError