るりまサーチ

最速Rubyリファレンスマニュアル検索!
51件ヒット [1-51件を表示] (0.086秒)
トップページ > クエリ:a[x] > クエリ:EXAMPLES[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. dbm to_a
  5. argf.class to_a

種類

ライブラリ

検索結果

Gem::Commands::HelpCommand::EXAMPLES -> String (27201.0)

使用例を表す文字列です。

使用例を表す文字列です。

rubygems/commands/help_command (12006.0)

Gem コマンドに関するヘルプを提供するためのライブラリです。

...Gem コマンドに関するヘルプを提供するためのライブラリです。

Usage: gem help ARGUMENT [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします...
...--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
A
rguments:
commands gem コマンドのサブコマンドの一覧を表示します
examples
gem...
...コマンドの使用例を表示します
<command> 指定されたコマンドのヘルプを表示します
Summary:
gem コマンドに関するヘルプを提供します...

パターンマッチ (6400.0)

パターンマッチ * patterns * variable_binding * variable_pinning * matching_non_primitive_objects * guard_clauses * current_feature_status * pattern_syntax * some_undefined_behavior_examples

...パターンマッチ
* patterns
* variable_binding
* variable_pinning
* matching_non_primitive_objects
* guard_clauses
* current_feature_status
* pattern_syntax
* some_undefined_behavior_examples

パターンマッチは、構造化された値に対して、構造をチェック...
...<expression> in <pattern>

case 文の中で利用できます。

case <expression>
in <pattern1>
...
in <pattern2>
...
in <pattern3>
...
else
...
end

in 節と when 節は1つの case 式の中に混ぜて書くことはできません。


case/in 式は 「網羅...
...case 式の値がどの節にもマッチせず else 節がない場合、例外 NoMatchingPatternError が発生します。

そのため、条件付きのマッチや展開に case 式が使われることがあります。

//emlist[][ruby]{
config = {db: {user: 'admin', password: 'abc123'}}

ca...
...りません)

Rubyでのパターンマッチは case/in 式を用いて実装されています。

case <expression>
in <pattern1>
...
in <pattern2>
...
in <pattern3>
...
else
...
end

in 節と when 節は1つの case 式の中に混ぜて書くことはできませ...
...expression> => <pattern>

<expression> in <pattern>

case/in 式は 「網羅的」 です。もし case 式の値がどの節にもマッチせず else 節がない場合、例外 NoMatchingPatternError が発生します。

そのため、条件付きのマッチや展開に case 式が使わ...

xmlrpc (66.0)

XML-RPC を扱うためのライブラリです。

...い。

=== Author and Copyright

Copyright (C) 2001-2004 by Michael Neumann

Released under the same term of license as Ruby.

=== Overview

XMLRPC is a lightweight protocol that enables remote procedure calls over
HTTP. It is defined at http://www.xmlrpc.com.

XMLRPC allows you to create simple d...
...that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.

The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to achi...
...XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStorm component architecture Client interface

=== Choosing a different XML Parser or XML Writer

The examples above all use the default parse...

rubygems (30.0)

RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。

...RubyGems を扱うためのクラスやモジュールが定義されているライブラリです。


===[a:gem_command] gem コマンドの使い方

$ gem help

RubyGems は Ruby のための高機能なパッケージ管理ツールです。
これはより多くの情報へのポ...
...and [arguments...] [options...]

例:
gem install rake
gem list --local
gem build package.gemspec
gem help install

さらにヘルプ:
gem help commands 全ての 'gem' コマンドをリストアップします
gem help exa...
...を表示します
gem help platforms プラットフォームに関する情報を表示します
gem help <COMMAND> COMMAND に関するヘルプを表示します
(e.g. 'gem help install')
より詳しい情報:...

絞り込み条件を変える