るりまサーチ

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

別のキーワード

  1. openssl g=
  2. openssl g
  3. dsa g
  4. dsa g=
  5. dh g

検索結果

Ruby用語集 (23034.0)

Ruby用語集 A B C D E F G I J M N O R S Y

...Ruby用語集
A B C D E F G I J M N O R S Y

a ka sa ta na ha ma ya ra wa

=== 記号・数字
: %記法
: % notation
「%」記号で始まる多種多様なリテラル記法の総称。

参照:d:spec/literal#percent

: 0 オリジン
: zero-ba...
...sed
番号が 0 から始まること。

例えば、
Array や Vector、Matrix などの要素の番号、
String における文字の位置、
といったものは 0 オリジンである。

: 1 オリジン
: one-based
番号が 1 から始まること。

例えば、
エラ...
...、再代入もできる。
仮引数に代入を行っても呼び出し側には影響を与えない。

→実引数

: 環境変数
: environment variable
OS がその上で動作するプロセスに対して提供する文字列型のデータ共有機能。
名前と値の組から...

OptionParser#environment(env) -> [String] (18207.0)

環境変数 env に対して Shellwords.#shellwords を呼 んで配列にしてから parse を行ないます。

...se"

config = {}
opts = OptionParser.new
opts.on("-r", "--require LIBRARY"){|lib| config[:lib] = lib }

# HOGE_OPT は hoge というプログラム名に対応した名前です
ENV['HOGE_OPT'] = %q{--require lib1 'remain data'}
p opts.environment('HOGE_OPT') # => ["remain data"]
p config...

rubygems/commands/environment_command (12006.0)

RubyGems の環境に関する情報を表示するためのライブラリです。

...RubyGems の環境に関する情報を表示するためのライブラリです。

Usage: gem environment [arg] [options]
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にしま...
...onfig-file FILE 指定された設定ファイルを使用します
--backtrace バックトレースを表示します
--debug Ruby 自体のデバッグオプションを有効にします
Arguments:
packageversion gem...
...
g
emdir Gem パッケージのインストール先を表示します
g
empath Gem パッケージを探索するディレクトリを表示します
version Gem パッケージのフォーマットのバージョンを表示します
remotesources G...

Gem::Commands::EnvironmentCommand (9000.0)

RubyGems の環境に関する情報を表示するためのクラスです。

...RubyGems の環境に関する情報を表示するためのクラスです。...

NEWS for Ruby 3.0.0 (12.0)

NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now...
...accepting a single rest argument and no keywords.
16166

//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}

pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]

pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now...
...ning in verbose mode). Additionally, accessing a
class variable from the toplevel scope is now a RuntimeError.
14541
* Assigning to a numbered parameter is now a SyntaxError instead of
a warning.

== Command line options

=== `--help` option

When the environment variable `RUBY_PAGER`...

絞り込み条件を変える