るりまサーチ

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

別のキーワード

  1. env fetch
  2. _builtin env
  3. env each
  4. env update
  5. env select

検索結果

<< 1 2 > >>

Net::IMAP::Envelope#from -> [Net::IMAP::Address] | nil (21117.0)

From を Net::IMAP::Address オブジェクトの配列で返します。

...From を Net::IMAP::Address オブジェクトの配列で返します。

エンベロープに存在しないときは nil を返します。...

CGI::QueryExtension#from -> String (18133.0)

ENV['HTTP_FROM'] を返します。

...
ENV
['HTTP_FROM'] を返します。...

Net::HTTP#proxy_from_env? -> bool (12220.0)

プロクシ情報を環境変数から得る場合に true を返します。

....start の proxy_address
引数に :ENV を渡した場合に true になります。

環境変数 http_proxy が定義されていなくともこの値は true を返します。
その場合にはプロクシは利用されず直接サーバに接続します。

@see Net::HTTP#proxy_from_env=...

Net::HTTP#proxy_from_env=(boolean) (12214.0)

プロクシ情報を環境変数から得るかどうかを指定します。

...プロクシ情報を環境変数から得るかどうかを指定します。

Net::HTTP#start で接続する前に設定する必要があります。

@param boolean プロクシ情報を環境変数から得るかどうかを指定する真偽値

@see Net::HTTP#proxy_from_env?...

Gem::RemoteFetcher#get_proxy_from_env -> URI | nil (12202.0)

環境変数にセットされている HTTP proxy の情報を取得して返します。

環境変数にセットされている HTTP proxy の情報を取得して返します。

ここでチェックしている環境変数は以下の通りです。

* http_proxy
* http_proxy_user
* http_proxy_pass
* HTTP_PROXY
* HTTP_PROXY_USER
* HTTP_PROXY_PASS

絞り込み条件を変える

ruby 1.6 feature (264.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

....slice!(5,10)

=> ruby 1.6.7 (2002-03-01) [i586-linux]
nil
-:2:in `slice!': index 5 out of string (IndexError)
from
-:2
=> ruby 1.6.7 (2002-08-01) [i586-linux]
nil
nil

: 2002-07-05 String#split

最初の引数に nil を...
...
るのは引数省略時だけでした。

$; = ":"
p "a:b:c".split(nil)
=> -:2:in `split': bad separator (ArgumentError)
from
-:2
ruby 1.6.7 (2002-03-01) [i586-linux]

=> ruby 1.6.7 (2002-07-30) [i586-linux]
["a", "b", "c"]

: 2002-06-15 Dir.glob...
...した

ENV
['HOME'] = nil
ENV
['LOGDIR'] = nil
Dir.chdir
=> -:3:in `chdir': Bad address (Errno::EFAULT)
from
-:3
ruby 1.6.4 (2001-08-26) [i586-linux]
=> -:3:in `chdir': HOME/LOGDIR not set (ArgumentError)
from
-:3...

1.6.8から1.8.0への変更点(まとめ) (228.0)

1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))

...Proc.new {|a,b,c| p [a,b,c]}.call(1,2)
=> -:1: wrong # of arguments (2 for 3) (ArgumentError)
from
-:1:in `call'
from
-:1
ruby 1.6.8 (2002-12-24) [i586-linux]
=> ruby 1.8.0 (2003-06-21) [i586-linu...
...c.new { break }.call

=> ruby 1.6.8 (2002-12-24) [i586-linux]

=> -:1:in `call': break from proc-closure (LocalJumpError)
from
-:1
ruby 1.8.0 (2003-06-21) [i586-linux]

* lambda および proc が返す Proc は引数...
...c_func() も参照。

=== Dir

: ((<Dir#path|Dir/path>)) [new]

追加

=== ENV

: ((<ENV/ENV.clear>)) [new]
: ((<ENV/ENV.shift>)) [new]
: ((<ENV/ENV.invert>)) [new]
: ((<ENV/ENV.replace>)) [new]
: ((<ENV/ENV.update>)) [new]

((<Hash>)) との互換性のために定義されました。...

optparse (96.0)

コマンドラインのオプションを取り扱うためのライブラリです。

...ョンと
して認識されている)。ただし、環境変数 POSIXLY_CORRECT が定義してあると
この挙動は変更されます。

env
POSIXLY_CORRECT=1 ruby ./sample.rb -a foo bar -b baz
# => true # -a はオプションと解釈...
...OptionParser::InvalidOption)
from
/usr/local/lib/ruby/1.9/optparse.rb:1426:in `catch'
from
/usr/local/lib/ruby/1.9/optparse.rb:1426:in `complete'
from
/usr/local/lib/ruby/1.9/optparse.rb:1287:in `order!'
from
/usr/local/lib/ruby/1.9/opt...
...optparse.rb:1256:in `order!'
from
/usr/local/lib/ruby/1.9/optparse.rb:1336:in `permute!'
from
/usr/local/lib/ruby/1.9/optparse.rb:1363:in `parse!'
from
/usr/local/lib/ruby/1.9/optparse.rb:1356:in `parse'
from
./sample.rb:9

OptionParser...

NEWS for Ruby 3.0.0 (78.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...
...e). 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` or `PAGER` is pres...
...[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys and their values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encodi...

NEWS for Ruby 2.0.0 (48.0)

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

...のための引数を一つ受け取るようになりました
* 新規クラス: Enumerator::Lazy 遅延列挙用のクラス

* ENV
* ENV.to_h は ENV.to_hash へのエイリアスです

* Fiber
* 非互換: Fiber#resume は Fiber#transfer を呼び出したファイバーを再...
...ence
from
a method or a block.
* 追加: RubyVM::InstructionSequence#path,
RubyVM::InstructionSequence#absolute_path,
RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#base_label,
RubyVM::InstructionSequence#first_lineno to retrieve information from whe...
...IO#wait の別名です。

* json
* 1.7.7 に更新

* net/http
* 新機能
* Proxies are now automatically detected from the http_proxy environment
variable. See Net::HTTP.new for details.
* gzip and deflate compression are now requested for all requests by...

絞り込み条件を変える

<< 1 2 > >>