416件ヒット
[201-300件を表示]
(0.189秒)
ライブラリ
クラス
- Array (36)
-
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (24) - Matrix (48)
- Method (12)
-
MiniTest
:: Unit (7) -
Net
:: FTP (12) -
Net
:: POP3 (36) -
Rake
:: FileList (12) -
Resolv
:: DNS (12) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (18) - String (12)
- UnboundMethod (36)
モジュール
- Enumerable (60)
- GC (12)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (24) - Observable (12)
-
Sync
_ m (12)
キーワード
-
_ assertions= (1) - acct (12)
- arity (24)
-
assertion
_ count (1) -
assertion
_ count= (1) -
auth
_ only (12) -
basic
_ auth (12) -
column
_ count (12) -
column
_ size (12) -
count
_ observers (12) -
count
_ space? (6) - egrep (12)
- errors= (1)
- failures= (1)
-
garbage
_ collect (12) - inspect (12)
-
matched
_ count (6) -
proxy
_ basic _ auth (12) - prune (6)
-
row
_ count (12) -
row
_ size (12) - skips= (1)
-
sort
_ by (24) -
spec
_ count (6) - start (24)
-
sync
_ ex _ count (6) -
sync
_ ex _ count= (6) -
test
_ count (1) -
test
_ count= (1) - timeouts= (12)
-
to
_ s (12) - updated (12)
検索結果
先頭5件
-
Matrix
# column _ size -> Integer (9102.0) -
行列の列数を返します。
行列の列数を返します。 -
Scanf
:: FormatString # prune(n=matched _ count) (6302.0) -
@todo
@todo -
MiniTest
:: Unit # failures=(count) (6208.0) -
失敗したアサーション数をセットします。
...失敗したアサーション数をセットします。
@param count 件数を指定します。... -
Net
:: HTTPHeader # basic _ auth(account , password) -> [String] (6201.0) -
Authorization: ヘッダを BASIC 認証用にセットします。
...Authorization: ヘッダを BASIC 認証用にセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net:......:HTTP::Get.new(uri.request_uri)
req.basic_auth("user", "pass") # => ["Basic dXNlcjpwYXNz"]
//}... -
Net
:: HTTPHeader # proxy _ basic _ auth(account , password) -> [String] (6201.0) -
Proxy 認証のために Proxy-Authorization: ヘッダをセットします。
...-Authorization: ヘッダをセットします。
@param account アカウント名を文字列で与えます。
@param password パスワードを文字列で与えます。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.......request_uri)
req.proxy_basic_auth("account", "password") # => ["Basic YWNjb3VudDpwYXNzd29yZA=="]
//}... -
Net
:: POP3 # auth _ only(account , password) -> () (6201.0) -
POP セッションを開き、認証だけを行って接続を切ります。
...require 'net/pop'
pop = Net::POP3.new('pop.example.com')
pop.auth_only 'YourAccount', 'YourPassword'
@param account アカウント名文字列
@param password パスワード文字列
@raise IOError セッションが既に開始されている場合に発生します
@raise Net::POPAuthent... -
Gem
:: StreamUI :: VerboseProgressReporter # updated(message) -> nil (6117.0) -
現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
...現在の Gem::StreamUI::VerboseProgressReporter#count と全体の数とメッセージを表示します。
@param message 表示するメッセージを指定します。... -
Resolv
:: DNS # timeouts=(values) (6107.0) -
DNSリゾルバのタイムアウト時間を設定します。
...DNSリゾルバのタイムアウト時間を設定します。
//emlist[][ruby]{
dns.timeouts = 3
//}
@param values タイムアウト時間(秒)を数値か数値の配列で指定します。配列
を指定した場合は応答を受信するまでの再試行時のタイムア......ウト
時間も含めて順に設定します。nil を指定した場合はデフォル
ト値
([ 5, second = 5 * 2 / nameserver_count, 2 * second, 4 * second ])
を使用します。... -
UnboundMethod
# inspect -> String (6013.0) -
self を読みやすい文字列として返します。
...self を読みやすい文字列として返します。
詳しくは Method#inspect を参照してください。
//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}
@see Method#inspect... -
UnboundMethod
# to _ s -> String (6013.0) -
self を読みやすい文字列として返します。
...self を読みやすい文字列として返します。
詳しくは Method#inspect を参照してください。
//emlist[例][ruby]{
String.instance_method(:count).inspect # => "#<UnboundMethod: String#count>"
//}
@see Method#inspect... -
UnboundMethod
# arity -> Integer (6007.0) -
メソッドが受け付ける引数の数を返します。
...装されたメソッドが可変長引数を
受け付ける場合、-1 を返します。
//emlist[例][ruby]{
class C
def one; end
def two(a); end
def three(*a); end
def four(a, b); end
def five(a, b, *c); end
def six(a, b, *c, &d); end
end
p C.instance_method(:one).arity......_method(:four).arity #=> 2
p C.instance_method(:five).arity #=> -3
p C.instance_method(:six).arity #=> -3
String.instance_method(:size).arity #=> 0
String.instance_method(:replace).arity #=> 1
String.instance_method(:squeeze).arity #=> -1
String.instance_method(:count).arity...