るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

検索結果

REXML::SAX2Listener#progress(position) -> () (18301.0)

パーサが入力を読み進めたときに呼び出されるコールバックメソッドです。

...入力を読み進めたときに呼び出されるコールバックメソッドです。

これの呼び出しの次のコールバックは基本的にこれで報告される位置から
読み出したデータによるものです。

@param position パーサの入力位置のバイト数...

Gem::StreamUI::SilentProgressReporter#done -> nil (9200.0)

何もしません。

何もしません。

Gem::StreamUI::SimpleProgressReporter#done -> nil (9200.0)

終了メッセージを表示します。

終了メッセージを表示します。

Gem::StreamUI::VerboseProgressReporter#done -> nil (9200.0)

終了メッセージを表示します。

終了メッセージを表示します。

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) -> StringIO (266.0)

URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。

...pen-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read

OpenURI.open_uri('http://www.example.com'){|sio| sio.read }

options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
* :conten...
...uthentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定しています。

require 'open-uri'
sio...
...('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })

: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emlist{
文字列:...

絞り込み条件を変える

OpenURI.open_uri(name, mode = 'r', perm = nil, options = {}) {|sio| ... } -> nil (266.0)

URI である文字列 name のリソースを取得して StringIO オブジェクト として返します。

...pen-uri'
sio = OpenURI.open_uri('http://www.example.com')
p sio.last_modified
puts sio.read

OpenURI.open_uri('http://www.example.com'){|sio| sio.read }

options には Hash を与えます。理解するハッシュの
キーは以下のシンボル、
* :proxy
* :progress_proc
* :conten...
...uthentication
* :proxy_http_basic_authentication
* :read_timeout
* :ssl_ca_cert
* :ssl_verify_mode
* :ftp_active_mode
* :redirect
です。
「:content_length_proc」と「:progress_proc」はプログレスバーに
利用されることを想定しています。

require 'open-uri'
sio...
...('http://www.example.com',
{ :proxy => 'http://proxy.example.com:8000/',
:http_basic_authentication => [username, password] })

: :proxy
プロクシの設定をします。
値には以下のいずれかを与えます。
//emlist{
文字列:...

test/unit (138.0)

ユニットテストを行うためのライブラリです。

...なりまし
た。詳しい内容は下記のプロジェクトページを参照してください。

* Test::Unit - Ruby用単体テストフレームワーク: https://test-unit.github.io/

なお、2.2.0より前のtest/unit は当時バンドルしていた minitest/unit を使って再実...
...suite test_foo
Started
F.
Finished in 0.022223 seconds.

1) Failure:
test_bar(TC_Foo) [test_foo.rb:16]:
<"bar"> expected but was
<"foo">.

2 tests, 2 assertions, 1 failures, 0 errors, 0 skips

test_bar だけテストしたい場合...
...$ ruby test_foo.rb --help
Usage: test_foo [options]
minitest options:
-
h, --help Display this help.
-
s, --seed SEED Sets random seed
-
v, --verbose Verbose. Show progress processing files.
-
n, --name PATTERN...