515件ヒット
[101-200件を表示]
(0.128秒)
ライブラリ
クラス
- Array (36)
- BasicObject (24)
- CSV (24)
-
CSV
:: Table (60) -
Gem
:: StreamUI :: SilentProgressReporter (12) -
Gem
:: StreamUI :: SimpleProgressReporter (12) -
Gem
:: StreamUI :: VerboseProgressReporter (24) - Matrix (48)
- Method (12)
-
MiniTest
:: Unit (3) -
Net
:: FTP (12) -
Net
:: POP3 (36) - Proc (7)
-
Rake
:: FileList (12) -
Resolv
:: DNS (12) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (18) - String (12)
- Thread (24)
- UnboundMethod (12)
モジュール
- Enumerable (60)
- GC (12)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (24) - Observable (12)
キーワード
- ! (12)
- != (12)
- << (7)
-
_ assertions= (1) - acct (12)
- arity (24)
-
assertion
_ count (1) -
assertion
_ count= (1) -
auth
_ only (12) -
basic
_ auth (12) -
by
_ col _ or _ row (12) -
by
_ col _ or _ row! (12) -
by
_ row (12) -
by
_ row! (12) -
column
_ count (12) -
column
_ size (12) -
count
_ observers (12) -
count
_ space? (6) - egrep (12)
- failures= (1)
-
garbage
_ collect (12) - inspect (12)
-
matched
_ count (6) - priority (12)
- priority= (12)
-
proxy
_ basic _ auth (12) - prune (6)
- read (12)
- readlines (12)
-
row
_ count (12) -
row
_ size (12) -
sort
_ by (24) -
spec
_ count (6) - start (24)
- timeouts= (12)
- updated (12)
検索結果
先頭5件
-
Gem
:: StreamUI :: VerboseProgressReporter # count -> Integer (21102.0) -
Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。
...Gem::StreamUI::VerboseProgressReporter#updated が呼び出された回数を返します。... -
String
# count(*chars) -> Integer (18244.0) -
chars で指定された文字が文字列 self にいくつあるか数えます。
...chars で指定された文字が文字列 self にいくつあるか数えます。
検索する文字を示す引数 chars の形式は tr(1) と同じです。
つまり、「"a-c"」は文字 a から c を意味し、
「"^0-9"」のように文字列の先頭が「^」の場合は
指定文......。
@param chars 出現回数を数える文字のパターン
//emlist[例][ruby]{
p 'abcdefg'.count('c') # => 1
p '123456789'.count('2378') # => 4
p '123456789'.count('2-8', '^4-6') # => 4
# ファイルの行数を数える
n_lines = File.read("foo").count("\n")
#......ファイルの末尾に改行コードがない場合にも対処する
buf = File.read("foo")
n_lines = buf.count("\n")
n_lines += 1 if /[^\n]\z/ =~ buf
# if /\n\z/ !~ buf だと空ファイルを 1 行として数えてしまうのでダメ
//}... -
MiniTest
:: Unit # assertion _ count=(count) (12309.0) -
アサーション数をセットします。
...アサーション数をセットします。
@param count 件数を指定します。... -
MiniTest
:: Unit # assertion _ count -> Fixnum (12202.0) -
アサーション数を返します。
アサーション数を返します。 -
Scanf
:: FormatSpecifier # count _ space? (12202.0) -
@todo
@todo -
Scanf
:: FormatString # matched _ count (12202.0) -
@todo
@todo -
MiniTest
:: Assertions # _ assertions=(count) (9208.0) -
アサーション数をセットします。
...アサーション数をセットします。
@param count 件数を指定します。... -
Matrix
# column _ count -> Integer (9102.0) -
行列の列数を返します。
行列の列数を返します。 -
Matrix
# row _ count -> Integer (9102.0) -
行列の行数を返します。
行列の行数を返します。 -
Observable
# count _ observers -> Integer (9102.0) -
登録されているオブザーバの数を返します。
登録されているオブザーバの数を返します。 -
Scanf
:: FormatString # spec _ count (9102.0) -
@todo
@todo -
Net
:: FTP # acct(account) -> nil (6301.0) -
サーバーに ACCT コマンドでアカウント情報を送ります。
...サーバーに ACCT コマンドでアカウント情報を送ります。
@param account 送りたいアカウント情報を文字列で与えます。
@raise Net::FTPReplyError 応答コードが2yzでない場合に発生します。... -
Net
:: HTTPHeader # basic _ auth(account , password) -> [String] (6301.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"]
//}...