1554件ヒット
[1-100件を表示]
(0.213秒)
種類
- インスタンスメソッド (914)
- 特異メソッド (508)
- モジュール関数 (132)
ライブラリ
- ビルトイン (246)
- benchmark (11)
-
cgi
/ html (88) - date (55)
- e2mmap (24)
- fileutils (39)
- json (110)
- logger (30)
- mkmf (11)
- monitor (11)
-
net
/ ftp (11) -
net
/ http (11) -
net
/ imap (22) - open-uri (74)
- openssl (11)
- optparse (33)
- prettyprint (22)
- psych (12)
-
rdoc
/ context (44) -
rdoc
/ markup / formatter (11) -
rdoc
/ text (11) -
rdoc
/ top _ level (33) - resolv (11)
-
rexml
/ document (88) -
rubygems
/ format (33) -
rubygems
/ installer (22) -
rubygems
/ old _ format (33) -
rubygems
/ platform (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ security (11) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (22) -
rubygems
/ spec _ fetcher (22) -
rubygems
/ specification (44) -
rubygems
/ user _ interaction (55) -
rubygems
/ version _ option (11) - scanf (24)
- shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18) -
shell
/ process-controller (6) - stringio (11)
- syslog (11)
- time (22)
- uri (44)
-
webrick
/ accesslog (11) -
webrick
/ httputils (55) - zlib (11)
クラス
-
ARGF
. class (11) - Array (44)
-
Benchmark
:: Tms (11) - Date (33)
- DateTime (22)
- Dir (11)
- File (33)
-
Gem
:: Format (33) -
Gem
:: Installer (22) -
Gem
:: OldFormat (33) -
Gem
:: Platform (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (22) -
Gem
:: SpecFetcher (22) -
Gem
:: Specification (44) -
Gem
:: StreamUI (11) -
Gem
:: StreamUI :: SilentProgressReporter (11) -
Gem
:: StreamUI :: SimpleProgressReporter (11) -
Gem
:: StreamUI :: VerboseProgressReporter (11) - Hash (18)
- IO (34)
- Logger (8)
-
Logger
:: Formatter (22) -
MonitorMixin
:: ConditionVariable (11) -
Net
:: FTP (11) -
Net
:: HTTP (11) -
Net
:: IMAP (22) - OptionParser (33)
- PrettyPrint (22)
-
RDoc
:: Context (44) -
RDoc
:: Markup :: Formatter (11) -
RDoc
:: TopLevel (33) -
REXML
:: Attribute (11) -
REXML
:: Formatters :: Default (22) -
REXML
:: Formatters :: Pretty (22) -
REXML
:: Formatters :: Transitive (11) -
REXML
:: Text (22) -
Resolv
:: DNS :: Resource :: MINFO (11) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18) -
Shell
:: ProcessController (6) - String (42)
- StringIO (11)
- Time (33)
-
WEBrick
:: HTTPUtils :: FormData (55) -
Zlib
:: GzipWriter (11)
モジュール
-
CGI
:: HtmlExtension (88) - Exception2MessageMapper (24)
- FileUtils (39)
-
Gem
:: Security (11) -
Gem
:: UserInteraction (11) -
Gem
:: VersionOption (11) -
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (93)
-
OpenSSL
:: Buffering (11) - OpenURI (22)
-
OpenURI
:: OpenRead (22) - Psych (12)
-
RDoc
:: Text (11) - Syslog (11)
- URI (58)
-
WEBrick
:: AccessLog (11)
キーワード
- [] (11)
-
_ strptime (22) -
add
_ class (11) -
add
_ class _ or _ module (22) -
add
_ module (11) -
add
_ platform _ option (11) - call (11)
-
cp
_ lr (6) -
datetime
_ format= (11) -
decode
_ www _ form (11) -
decode
_ www _ form _ component (11) -
def
_ exception (12) - delete (18)
-
encode
_ www _ form (11) -
encode
_ www _ form _ component (11) -
exec
_ format= (11) - fetch (11)
-
file
_ entries= (22) - filename (11)
- filename= (11)
-
find
_ class _ named (11) -
find
_ matching (11) -
find
_ module _ named (22) - form (44)
- format (44)
-
format
_ date (11) -
format
_ datetime (11) -
formatted
_ program _ filename (11) -
from
_ file _ by _ path (22) -
from
_ io (22) -
json
_ create (11) - log (11)
-
multipart
_ form (44) - name (11)
- name= (11)
- new (107)
- normalize (11)
-
normalize
_ comment (11) -
normalize
_ uri (11) -
normalize
_ yaml _ input (11) - normalized= (11)
- open (96)
-
open
_ uri (22) -
original
_ platform= (11) - permutation (22)
- permute (22)
- permute! (11)
- platform= (11)
-
post
_ form (11) - printf (77)
-
remove
_ entry _ secure (11) -
repeated
_ permutation (22) - requirements= (11)
- rmdir (40)
-
safe
_ load (12) -
safe
_ unlink (11) - scanf (24)
- search (22)
-
search
_ with _ source (11) -
singleline
_ format (11) - sprintf (11)
- strftime (22)
- strptime (44)
- sysopen (11)
-
terminate
_ interaction (22) -
terminate
_ job (6) -
to
_ json (99) -
transform
_ keys (9) -
transform
_ keys! (9) -
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) - unnormalize (11)
-
verify
_ trust _ dir (11) - version= (11)
- wait (11)
- width= (11)
- write (11)
検索結果
先頭5件
- Logger
:: Formatter # datetime _ format=(format) - Gem
:: UserInteraction # terminate _ interaction(*args) -> () - IO
# scanf(format) -> Array - IO
# scanf(format) {|*ary| . . . } -> Array - PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object
-
Logger
:: Formatter # datetime _ format=(format) (30606.0) -
ログの日時フォーマットをセットします。
...@param format 日時のフォーマット文字列。Time#strftime で使用するフォーマット文字列と
同じものを使用できます。
//emlist[例][ruby]{
require 'logger'
formatter = Logger::Formatter.new
formatter.datetime_format # => nil
formatter.datetime_format......= '%Y-%m-%d %H:%M:%S' # => "%Y-%m-%d %H:%M:%S"
formatter.datetime_format # => "%Y-%m-%d %H:%M:%S"
//}
@see Time#strftime... -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (30406.0) -
アプリケーションを終了します。
...アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。... -
IO
# scanf(format) -> Array (29206.0) -
String#scanfも参照してください。
...String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。... -
IO
# scanf(format) {|*ary| . . . } -> Array (29206.0) -
String#scanfも参照してください。
...String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。... -
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (27524.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text......の実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます。... -
IO
# printf(format , *arg) -> nil (26312.0) -
C 言語の printf と同じように、format に従い引数 を文字列に変換して、self に出力します。
...printf と同じように、format に従い引数
を文字列に変換して、self に出力します。
第一引数に IO を指定できないこと、引数を省略できないことを除けば Kernel.#printf と同じです。
@param format Kernel.#printf と同じです。print_format......を参照してください。
@param arg Kernel.#printf と同じです。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX 出力に失敗した場合に発生します。
@see Kernel.#printf... -
Net
:: IMAP . format _ datetime(time) -> String (24506.0) -
時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
...時刻オブジェクトを IMAP の日付時刻フォーマットでの文字列に変換します
require 'net/imap'
Net::IMAP.format_datetime(Time.new(2011, 6, 20, 13, 20, 1))
# => "20-Jun-2011 13:20 +0900"
@param time 変換する時刻オブジェクト... -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (24312.0) -
option parser に対して --platform オプションを追加します。
...option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定し... -
IO
. sysopen(path , mode = "r" , perm = 0666) -> Integer (23318.0) -
path で指定されるファイルをオープンし、ファイル記述子を返しま す。
...path で指定されるファイルをオープンし、ファイル記述子を返しま
す。
IO.for_fd などで IO オブジェクトにしない限り、このメソッ
ドでオープンしたファイルをクローズする手段はありません。
@param path ファイル名を表す......文字列を指定します。
@param mode モードを文字列か定数の論理和で指定します。Kernel.#open と同じです。
@param perm open(2) の第 3 引数のように、ファイルを生成する場合の
ファイルのパーミッションを整数で指定しま......す。Kernel.#open と同じです。
@raise Errno::EXXX ファイルのオープンに失敗した場合に発生します。
//emlist[例][ruby]{
IO.sysopen("testfile", "w+") # => 3
//}
@see Kernel.#open... -
Array
# repeated _ permutation(n) -> Enumerator (21572.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数......mlist[例][ruby]{
a = [1, 2]
a.repeated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation......(0).to_a #=> [[]] # one permutation of length 0
//}
ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result...