種類
ライブラリ
- ビルトイン (22)
- benchmark (1)
-
bigdecimal
/ newton (1) -
cgi
/ html (8) - csv (1)
- date (4)
- e2mmap (4)
- etc (39)
- fiddle (1)
- fileutils (11)
- getoptlong (4)
-
irb
/ context (1) - json (17)
- logger (9)
- matrix (8)
- mkmf (3)
- monitor (9)
-
net
/ ftp (1) -
net
/ http (4) - open-uri (6)
- openssl (4)
- optparse (2)
- pathname (3)
- prettyprint (2)
- rake (1)
-
rdoc
/ context (8) -
rdoc
/ markup / formatter (1) -
rdoc
/ normal _ class (1) -
rdoc
/ normal _ module (1) -
rdoc
/ parser / ruby (1) -
rdoc
/ text (1) -
rdoc
/ top _ level (5) - resolv (2)
-
rexml
/ document (16) - rss (9)
- rubygems (1)
-
rubygems
/ commands / help _ command (1) -
rubygems
/ config _ file (1) -
rubygems
/ defaults (1) -
rubygems
/ exceptions (1) -
rubygems
/ format (4) -
rubygems
/ installer (3) -
rubygems
/ old _ format (10) -
rubygems
/ platform (17) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ source _ index (1) -
rubygems
/ source _ info _ cache (2) -
rubygems
/ spec _ fetcher (2) -
rubygems
/ specification (6) -
rubygems
/ user _ interaction (3) -
rubygems
/ version _ option (1) - scanf (7)
- shell (3)
-
shell
/ command-processor (3) -
shell
/ filter (3) -
shell
/ process-controller (1) -
shell
/ system-command (1) - socket (4)
- stringio (1)
- strscan (1)
- syslog (1)
-
syslog
/ logger (4) - time (2)
- un (2)
- uri (4)
-
webrick
/ accesslog (6) -
webrick
/ httpstatus (2) -
webrick
/ httputils (13) -
webrick
/ log (2) -
win32
/ registry (6) - zlib (1)
クラス
-
ARGF
. class (1) - Array (3)
-
Benchmark
:: Tms (1) - Date (3)
- DateTime (1)
- Dir (1)
- Encoding (1)
- File (3)
-
Gem
:: Commands :: HelpCommand (1) -
Gem
:: ConfigFile (1) -
Gem
:: Format (4) -
Gem
:: Installer (3) -
Gem
:: OldFormat (9) -
Gem
:: Platform (16) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (1) -
Gem
:: SourceInfoCache (2) -
Gem
:: SpecFetcher (2) -
Gem
:: Specification (6) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) - GetoptLong (4)
- IO (1)
-
IRB
:: Context (1) - Logger (4)
-
Logger
:: Formatter (4) - Matrix (4)
-
Matrix
:: LUPDecomposition (1) -
MonitorMixin
:: ConditionVariable (5) -
Net
:: FTP (1) -
Net
:: HTTPGenericRequest (2) -
Net
:: HTTPResponse (1) - Object (1)
-
OpenSSL
:: PKey :: EC :: Group (2) - OptionParser (1)
- Pathname (3)
- PrettyPrint (2)
-
Process
:: Status (1) -
RDoc
:: Context (8) -
RDoc
:: Markup :: Formatter (1) -
RDoc
:: Options (2) -
RDoc
:: Parser :: Ruby (1) -
RDoc
:: TopLevel (5) -
REXML
:: Attribute (1) -
REXML
:: Entity (2) -
REXML
:: Formatters :: Default (2) -
REXML
:: Formatters :: Pretty (5) -
REXML
:: Formatters :: Transitive (1) -
REXML
:: Text (2) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (2) -
RSS
:: NotWellFormedError (2) -
RSS
:: Rss :: Channel :: Item :: Guid (1) -
Resolv
:: DNS :: Resource :: MINFO (2) -
Scanf
:: FormatSpecifier (1) -
Scanf
:: FormatString (4) - Shell (3)
-
Shell
:: CommandProcessor (3) -
Shell
:: Filter (3) -
Shell
:: ProcessController (1) -
Shell
:: SystemCommand (1) - Socket (2)
- StringIO (1)
- StringScanner (1)
-
Syslog
:: Logger (2) -
Syslog
:: Logger :: Formatter (1) - Thread (1)
- Time (3)
-
URI
:: Generic (2) - Vector (2)
-
WEBrick
:: HTTPUtils :: FormData (12) -
WEBrick
:: Log (2) -
Win32
:: Registry (3) -
Zlib
:: GzipWriter (1)
モジュール
-
CGI
:: HtmlExtension (8) - DublinCoreModel (3)
- Etc (39)
- Exception2MessageMapper (4)
- Fiddle (1)
- FileUtils (11)
- Gem (2)
-
Gem
:: VersionOption (1) -
JSON
:: Generator :: GeneratorMethods :: Array (1) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (1) -
JSON
:: Generator :: GeneratorMethods :: Float (1) -
JSON
:: Generator :: GeneratorMethods :: Hash (1) -
JSON
:: Generator :: GeneratorMethods :: Integer (1) -
JSON
:: Generator :: GeneratorMethods :: NilClass (1) -
JSON
:: Generator :: GeneratorMethods :: Object (1) -
JSON
:: Generator :: GeneratorMethods :: String (1) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (1) - Kernel (16)
- MonitorMixin (3)
- Newton (1)
-
OpenSSL
:: Buffering (1) -
OpenSSL
:: OCSP (1) - OpenURI (2)
-
OpenURI
:: OpenRead (2) -
OptionParser
:: Arguable (1) - Process (2)
-
RDoc
:: Text (1) -
Socket
:: Constants (2) - Syslog (1)
- URI (2)
-
WEBrick
:: AccessLog (6) -
WEBrick
:: HTTPStatus (1) -
Win32
:: Registry :: Constants (3)
キーワード
- << (1)
- == (1)
- === (1)
- =~ (1)
-
AGENT
_ LOG _ FORMAT (1) -
BUILD
_ RUBY _ PLATFORM (1) -
CLF
_ TIME _ FORMAT (1) -
CLOCK
_ BOOTTIME _ ALARM (1) -
CLOCK
_ REALTIME _ ALARM (1) -
COMBINED
_ LOG _ FORMAT (1) -
COMMON
_ LOG _ FORMAT (1) - CURRENT (1)
- ConditionVariable (1)
- Cygwin (1)
- DOSISH 対応 (1)
- Default (1)
- ErrNotRegular (1)
- FalseClass (2)
- FilePermissionError (1)
- Float (2)
- FormData (1)
- Format (1)
- Formatter (2)
- GNU (1)
- GNU Hurd (1)
-
HKEY
_ PERFORMANCE _ DATA (2) -
HKEY
_ PERFORMANCE _ NLSTEXT (2) -
HKEY
_ PERFORMANCE _ TEXT (2) - HTTPMovedPermanently (1)
-
IP
_ XFRM _ POLICY (2) - Mac OS X (1)
- MalformedCSVError (1)
- Marshal フォーマット (1)
- MinGW (1)
- MovedPermanently (1)
- NORMAL (1)
- NilClass (2)
- NormalClass (1)
- NormalModule (1)
- NotWellFormedError (1)
- OldFormat (1)
- PERMUTE (1)
- PLATFORMS (1)
-
PLATFORM
_ DEFAULTS (1) - Platform (1)
- Pretty (1)
-
RC
_ MOVED _ PERMANENTLY (1) -
REFERER
_ LOG _ FORMAT (1) -
RESPONSE
_ STATUS _ MALFORMEDREQUEST (1) - RMODULE (1)
- RUBY (1)
-
RUBY
_ PLATFORM (1) - Ruby が動作するプラットフォーム (1)
-
SC
_ 2 _ LOCALEDEF (1) -
SC
_ 2 _ PBS _ LOCATE (1) -
SC
_ AIO _ LISTIO _ MAX (1) -
SC
_ AIO _ PRIO _ DELTA _ MAX (1) -
SC
_ BC _ SCALE _ MAX (1) -
SC
_ CHILD _ MAX (1) -
SC
_ CLK _ TCK (1) -
SC
_ CLOCK _ SELECTION (1) -
SC
_ COLL _ WEIGHTS _ MAX (1) -
SC
_ DELAYTIMER _ MAX (1) -
SC
_ JOB _ CONTROL (1) -
SC
_ LINE _ MAX (1) -
SC
_ LOGIN _ NAME _ MAX (1) -
SC
_ MAPPED _ FILES (1) -
SC
_ MEMLOCK (1) -
SC
_ MEMLOCK _ RANGE (1) -
SC
_ MONOTONIC _ CLOCK (1) -
SC
_ NPROCESSORS _ ONLN (1) -
SC
_ PRIORITY _ SCHEDULING (1) -
SC
_ READER _ WRITER _ LOCKS (1) -
SC
_ REALTIME _ SIGNALS (1) -
SC
_ SEM _ VALUE _ MAX (1) -
SC
_ SHELL (1) -
SC
_ SPIN _ LOCKS (1) -
SC
_ SS _ REPL _ MAX (1) -
SC
_ SYMLOOP _ MAX (1) -
SC
_ THREAD _ PRIORITY _ SCHEDULING (1) -
SC
_ TRACE _ EVENT _ FILTER (1) -
SC
_ TRACE _ LOG (1) -
SC
_ V6 _ ILP32 _ OFF32 (1) -
SC
_ V6 _ ILP32 _ OFFBIG (1) -
SC
_ V6 _ LP64 _ OFF64 (1) -
SC
_ V6 _ LPBIG _ OFFBIG (1) -
SC
_ V7 _ ILP32 _ OFF32 (1) -
SC
_ V7 _ ILP32 _ OFFBIG (1) -
SC
_ V7 _ LP64 _ OFF64 (1) -
SC
_ V7 _ LPBIG _ OFFBIG (1) -
SC
_ XOPEN _ REALTIME (1) -
SC
_ XOPEN _ REALTIME _ THREADS (1) -
SOPRI
_ NORMAL (2) -
STATUS
_ TERMINATED (1) - Transitive (1)
- TrueClass (2)
- Unix (1)
- Win32 (1)
- Win32ネイティブ版 (1)
- Win32ネイティブ版Rubyの互換性問題 (1)
- [] (1)
-
_ strptime (1) -
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ module (1) -
add
_ platform _ option (1) -
all
_ classes _ and _ modules (1) -
append
_ data (1) -
body
_ permitted? (1) - broadcast (1)
- call (2)
- classes (1)
- compact (1)
- compact= (1)
-
cp
_ r (1) - cpu (1)
- cpu= (1)
-
datetime
_ format (2) -
datetime
_ format= (2) -
dc
_ format (1) -
dc
_ format= (1) -
dc
_ formats (1) -
def
_ exception (2) -
default
_ exec _ format (1) - delete (3)
- determinant (1)
-
determinant
_ e (1) -
each
_ classmodule (1) -
each
_ data (1) - element (1)
-
encode
_ www _ form (1) -
encode
_ www _ form _ component (1) -
exec
_ format (1) -
exec
_ format= (1) - fetch (1)
-
file
_ entries (2) -
file
_ entries= (2) - filename (1)
- filename= (1)
-
find
_ class _ named (1) -
find
_ enclosing _ module _ named (1) -
find
_ local _ symbol (1) -
find
_ matching (1) -
find
_ module _ named (2) - form (4)
- format (4)
-
formatted
_ program _ filename (1) - formatter (3)
- formatter= (3)
-
from
_ file _ by _ path (2) -
from
_ io (2) -
gem
_ path (1) -
gem
_ path= (1) - hermitian? (1)
- isPermaLink (2)
- isPermaLink= (1)
-
last
_ match _ tried (1) -
last
_ spec (1) -
last
_ spec _ tried (1) - letter (1)
- line (1)
- list (1)
- local (1)
-
locale
_ charmap (1) - log (1)
- match (1)
- mingw32 (1)
- modules (1)
-
mon
_ try _ enter (1) - mswin32 (1)
-
multipart
_ form (4) - name (1)
- name= (1)
- new (12)
-
new
_ cond (1) -
new
_ dvar (1) - norm (2)
- normal? (1)
- normalize (4)
- normalize! (1)
-
normalize
_ comment (1) -
normalize
_ uri (1) -
normalize
_ yaml _ input (1) - normalized (1)
- normalized= (1)
- open (10)
-
open
_ uri (2) -
original
_ platform (1) -
original
_ platform= (1) - os (1)
- os= (1)
- permutation (2)
- permutation? (1)
- permute! (2)
- platform (1)
- platform= (1)
-
point
_ conversion _ form (1) -
point
_ conversion _ form= (1) - printf (7)
-
rb
_ exec _ err (1) -
rb
_ fork _ err (1) -
rdoc
/ normal _ class (1) -
rdoc
/ normal _ module (1) - remove (1)
-
remove
_ entry _ secure (1) -
repeated
_ permutation (1) -
request
_ body _ permitted? (1) -
response
_ body _ permitted? (1) -
return
_ format= (1) -
rm
_ f (2) -
rm
_ final (1) -
rm
_ r (1) -
rm
_ rf (2) - rmailbx (1)
- rmdir (7)
- rmtree (2)
-
rubygems
/ old _ format (1) -
rubygems
/ platform (1) -
safe
_ unlink (1) - scanf (2)
- search (2)
-
search
_ with _ source (1) - signal (1)
-
singleline
_ format (1) - spec (1)
- spec= (1)
- sprintf (1)
- strftime (2)
-
string
_ left (1) - strptime (4)
- task (1)
- terminate (4)
-
terminate
_ job (1) -
terminate
_ process (1) - terminated? (1)
- termsig (1)
-
time
_ format (1) -
time
_ format= (1) -
to
_ a (1) -
to
_ ary (1) -
to
_ json (9) -
to
_ s (2) -
try
_ mon _ enter (1) - unnormalize (1)
- unnormalized (1)
- version (1)
- version= (1)
- wait (1)
-
wait
_ until (1) -
wait
_ while (1) - width (1)
- width= (1)
-
win
_ platform? (1) - write (1)
検索結果
先頭5件
-
Kernel
# rm -> () (63340.0) -
ファイルやディレクトリを削除します。
ファイルやディレクトリを削除します。
ruby -run -e rm -- [OPTION] FILE
-f 存在しないファイルを無視します
-r ディレクトリを再帰的にたどってファイルやディレクトリを削除します
-v 詳細表示
@see rm(1) -
FileUtils
. # rm(list , options = {}) -> () (54658.0) -
list で指定された対象を消去します。
list で指定された対象を消去します。
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :force, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.rm('junk.txt')
FileUtils.rm(Dir.glob('*~'))
FileUtils.rm('NotExistFile', f... -
Shell
# rm(*filename) -> Integer (54604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete -
Shell
:: CommandProcessor # rm(*filename) -> Integer (54604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete -
Shell
:: Filter # rm(*filename) -> Integer (54604.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete -
WEBrick
:: AccessLog :: COMBINED _ LOG _ FORMAT -> String (45619.0) -
Apache のアクセスログで一般的に使われる形式を表す文字列です。
Apache のアクセスログで一般的に使われる形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""
//}} -
WEBrick
:: AccessLog :: AGENT _ LOG _ FORMAT -> String (45601.0) -
Apache のアクセスログで一般的に使われる User-Agent の形式を表す文字列です。
Apache のアクセスログで一般的に使われる User-Agent の形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"%{User-Agent}i"
//}} -
WEBrick
:: AccessLog :: REFERER _ LOG _ FORMAT -> String (45601.0) -
Apache のアクセスログで一般的に使われるリファラの形式を表す文字列です。
Apache のアクセスログで一般的に使われるリファラの形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"%{Referer}i -> %U"
//}} -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") -> String (37201.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。
例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM> -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") { . . . } -> String (37201.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。
例:
multipart_form{ "string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM> -
Gem
:: Specification # platform=(platform) (37201.0) -
この Gem パッケージを使用できるプラットフォームをセットします。
この Gem パッケージを使用できるプラットフォームをセットします。
@param platform この Gem パッケージを使用できるプラットフォームを指定します。
デフォルトは Gem::Platform::RUBY です。
@see Gem::Platform::RUBY -
static VALUE rm
_ final(VALUE os , VALUE proc) (37201.0) -
-
Gem
:: Installer # formatted _ program _ filename(filename) -> String (36901.0) -
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
Ruby のコマンドと同じプレフィックスとサフィックスを付けたファイル名を返します。
@param filename 実行ファイルのファイル名を指定します。 -
Gem
:: Specification # original _ platform=(platform) (36901.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
@param platform プラットフォームを指定します。 -
Syslog
:: Logger # formatter -> Logger :: Formatter | Proc (36901.0) -
ログを出力する際に使用するフォーマッターを取得します。
ログを出力する際に使用するフォーマッターを取得します。
デフォルトでは Logger::Formatter オブジェクトを返します。
@see Syslog::Logger#formatter= -
CGI
:: HtmlExtension # multipart _ form(attributes) -> String (36601.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM> -
CGI
:: HtmlExtension # multipart _ form(attributes) { . . . } -> String (36601.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
multipart_form("url"){ "string" }
# <FORM METHOD="post" ACTION="url" ENCTYPE="multipart/form-data">string</FORM> -
Encoding
. locale _ charmap -> String | nil (36601.0) -
ロケールエンコーディングを決定するために用いる、locale charmap 名を返します。nl_langinfo 等がない環境では nil を、miniruby では ASCII_8BIT を返します。
ロケールエンコーディングを決定するために用いる、locale charmap 名を返します。nl_langinfo 等がない環境では nil を、miniruby では ASCII_8BIT を返します。
//emlist[Debian GNU/Linux + LANG=C][ruby]{
Encoding.locale_charmap #=> "ANSI_X3.4-1968"
//}
//emlist[LANG=ja_JP.EUC-JP][ruby]{
Encoding.locale_charmap #=> "EUC-JP"
//}
//emlist[SunOS 5 + LANG=C]... -
Fiddle
:: BUILD _ RUBY _ PLATFORM -> String (36601.0) -
ビルドに用いた ruby のプラットフォームを表す文字列。
ビルドに用いた ruby のプラットフォームを表す文字列。
通常、Object::RUBY_PLATFORM と同じ。 -
Gem
. # win _ platform? -> bool (36601.0) -
Windows プラットフォームであれば真を返します。そうでなければ偽を返します。
Windows プラットフォームであれば真を返します。そうでなければ偽を返します。
@see Object::RUBY_PLATFORM -
Gem
. default _ exec _ format -> String (36601.0) -
デフォルトのインストールするコマンド名を決めるためのフォーマット文字列を返します。
デフォルトのインストールするコマンド名を決めるためのフォーマット文字列を返します。 -
Gem
:: Commands :: HelpCommand :: PLATFORMS -> String (36601.0) -
プラットフォームに関する記述を格納している文字列です。
プラットフォームに関する記述を格納している文字列です。 -
Gem
:: ConfigFile :: PLATFORM _ DEFAULTS -> {} (36601.0) -
Ruby の実装者がデフォルトの設定値をセットするために使用します。
Ruby の実装者がデフォルトの設定値をセットするために使用します。
使用するファイルは rubygems/defaults/#{RUBY_ENGINE}.rb です。 -
Gem
:: RemoteFetcher # normalize _ uri(uri) -> String (36601.0) -
URI のスキーム部分が欠けている場合に "http://" を補って返します。
URI のスキーム部分が欠けている場合に "http://" を補って返します。
@param uri URI 文字列を指定します。 -
Gem
:: Specification # normalize -> [String] (36601.0) -
この Gem パッケージの含まれるファイルリストから重複を取り除きます。
この Gem パッケージの含まれるファイルリストから重複を取り除きます。 -
Gem
:: Specification # original _ platform -> String (36601.0) -
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。
この属性は古いバージョンの Gem パッケージをアンインストールするために残されています。 -
Gem
:: Specification # platform -> String (36601.0) -
この Gem パッケージを使用できるプラットフォームを返します。
この Gem パッケージを使用できるプラットフォームを返します。 -
Gem
:: Specification . normalize _ yaml _ input(input) -> String (36601.0) -
YAML 形式の gemspec を正しくフォーマットします。
YAML 形式の gemspec を正しくフォーマットします。
@param input 文字列か IO オブジェクトを指定します。 -
Gem
:: VersionOption # add _ platform _ option(task = command , *wrap) (36601.0) -
option parser に対して --platform オプションを追加します。
option parser に対して --platform オプションを追加します。
@param task コマンド名を指定します。デフォルト値はインクルードされる側のクラスで指定されます。
@param wrap Gem::Command#add_option に渡すその他のオプションを指定します。 -
Logger
:: Formatter # datetime _ format=(format) (36601.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.date... -
Matrix
# normal? -> bool (36601.0) -
行列が正規行列ならば true を返します。
行列が正規行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します -
Object
:: RUBY _ PLATFORM -> String (36601.0) -
プラットフォームを表す文字列。
プラットフォームを表す文字列。 -
OpenSSL
:: OCSP :: RESPONSE _ STATUS _ MALFORMEDREQUEST -> Integer (36601.0) -
OpenSSL::OCSP::Response#status のステータスコードで 、 リクエストの構文が正しくないことを意味します。
OpenSSL::OCSP::Response#status のステータスコードで 、
リクエストの構文が正しくないことを意味します。
詳しくは 2560 2.3 を見てください。 -
PrettyPrint
. singleline _ format(output = & # 39;& # 39; , maxwidth = 79 , newline = "\n" , genspace = lambda{|n| & # 39; & # 39; * n}) {|pp| . . . } -> object (36601.0) -
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。
PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。
引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text の実行であるかのように扱います。
@param output 出力先を指定します。output は << メソッドを持っていなければなりません。
@param maxwidth 無視されます。
@param newline 無視されます。
@param genspace 無視されます... -
Process
:: CLOCK _ BOOTTIME _ ALARM -> Integer (36601.0) -
Process.#clock_gettime で使われます。
Process.#clock_gettime で使われます。
システムによっては定義されていません。 -
Process
:: CLOCK _ REALTIME _ ALARM -> Integer (36601.0) -
Process.#clock_gettime で使われます。
Process.#clock_gettime で使われます。
システムによっては定義されていません。 -
RDoc
:: Parser :: Ruby :: NORMAL -> " :: " (36601.0) -
RDoc::NormalClass type
RDoc::NormalClass type -
RDoc
:: Text # normalize _ comment(text) -> String (36601.0) -
引数から行頭のスペースや改行文字などを削除します。
引数から行頭のスペースや改行文字などを削除します。
詳しくは [SEE ALSO] の各メソッドを参照してください。
@param text 文字列を指定します。
@see RDoc::Text#strip_hashes, RDoc::Text#expand_tabs,
RDoc::Text#flush_left, RDoc::Text#strip_newlines -
REXML
:: Attribute # normalized=(value) (36601.0) -
正規化された属性値を設定します。
正規化された属性値を設定します。
通常はライブラリが自動的にこの値を設定するので
ユーザはこれを使う必要はないでしょう。
@param value 正規化された属性値 -
REXML
:: Entity # normalized -> String | nil (36601.0) -
正規化された(normalized)実体の値を返します。
正規化された(normalized)実体の値を返します。
すなわち、一切の実体参照を展開していない値を返します。
外部実体(external entity)宣言の場合は nil を返します。
@see REXML::Entity#value, REXML::Entity#unnormalized -
REXML
:: Entity # unnormalized -> String | nil (36601.0) -
非正規化された(unnormalized)実体の値を返します。
非正規化された(unnormalized)実体の値を返します。
すなわち、self が属する DTD によってすべての実体参照(&ent; と %ent; の両方)
を展開した文字列を返します。
外部実体(external entity)宣言の場合は nil を返します。
@see REXML::Entity#value, REXML::Entity#normalized -
REXML
:: Text . normalize(input , doctype = nil , entity _ filter = nil) -> String (36601.0) -
input を正規化(すべての entity をエスケープ)したものを 返します。
input を正規化(すべての entity をエスケープ)したものを
返します。
@param input 正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param entity_filter 置換したい実体の名前の配列 -
REXML
:: Text . unnormalize(string , doctype = nil , filter = nil , illegal = nil) -> String (36601.0) -
string を非正規化(すべての entity をアンエスケープ)したものを 返します。
string を非正規化(すべての entity をアンエスケープ)したものを
返します。
filter でアンエスケープしない実体の実体名を文字列配列で指定します。
@param string 非正規化する文字列
@param doctype DTD(REXML::DocType オブジェクト)
@param filter アンエスケープしない実体の実体名(文字列配列)
@param illegal 内部用。使わないでください。
//emlist[][ruby]{
require 'rexml/text'
REXML::Text.unnormalize("& &foobar; ... -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid # isPermaLink (36601.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid # isPermaLink=() (36601.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Guid # isPermaLink (36601.0) -
@todo
@todo
* http://purl.org/dc/elements/1.1/ -
Resolv
:: DNS :: Resource :: MINFO # rmailbx -> String (36601.0) -
メーリングリストもしくはメールボックスの 責任者のドメイン名を返します。
メーリングリストもしくはメールボックスの
責任者のドメイン名を返します。 -
Socket
:: Constants :: IP _ XFRM _ POLICY -> Integer (36601.0) -
@todo
@todo -
Socket
:: Constants :: SOPRI _ NORMAL -> Integer (36601.0) -
Normal socket priority @todo
Normal socket priority
@todo -
Socket
:: IP _ XFRM _ POLICY -> Integer (36601.0) -
@todo
@todo -
Socket
:: SOPRI _ NORMAL -> Integer (36601.0) -
Normal socket priority @todo
Normal socket priority
@todo -
Syslog
:: Logger # formatter=(formatter) (36601.0) -
ログを出力する際に使用するフォーマッターをセットします。
ログを出力する際に使用するフォーマッターをセットします。
@param formatter 4 つの引数 (severity, time, program name, message) を
受け取る call メソッドを 持つオブジェクトを指定します。
引数 formatter が持つ call メソッドは以下の 4 つの引数 (severity,
time, program name, message) を受けとります。
: severity
このメッセージのログレベル(Logger::Severity 参照)。
: time
このメッ... -
URI
:: Generic # normalize -> URI :: Generic (36601.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s #=> "http://example.com/" -
URI
:: Generic # normalize! -> String | nil (36601.0) -
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと 構成要素がなければ '/' をセットします。
URI オブジェクトを正規化して返します。ホスト名を小文字にし、パスと
構成要素がなければ '/' をセットします。
例:
require 'uri'
u = URI.parse('http://Example.Com')
p u.to_s #=> "http://Example.Com"
p u.normalize.to_s #=> "http://example.com/" -
Vector
# normalize -> Vector (36601.0) -
自身を Vector#norm で正規化したベクトルを返します。
自身を Vector#norm で正規化したベクトルを返します。
@raise Vector::ZeroVectorError ベクトルが0である場合に発生します。
//emlist[例][ruby]{
require 'matrix'
v = Vector[2, 6, 9].normalize
# => Vector[0.18181818181818182, 0.5454545454545454, 0.8181818181818182]
v.norm # => 1.0
//}
@see Vector#norm -
WEBrick
:: AccessLog :: CLF _ TIME _ FORMAT -> String (36601.0) -
Apache のアクセスログと同じ時刻の形式を表す文字列です。
Apache のアクセスログと同じ時刻の形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"[%d/%b/%Y:%H:%M:%S %Z]"
//}} -
struct RClass * RMODULE(VALUE obj) (36601.0)
-
-
Logger
:: Formatter # datetime _ format -> String (36301.0) -
ログの日時フォーマットを取得します。
ログの日時フォーマットを取得します。
@see Time#strftime -
Logger
:: Formatter :: Format -> String (36301.0) -
フォーマット文字列。
フォーマット文字列。 -
MonitorMixin
:: ConditionVariable # wait _ while { . . . } -> () (36301.0) -
モニタのロックを開放し、現在のスレッドを ブロックで指定した条件を満たしている間停止します。
モニタのロックを開放し、現在のスレッドを
ブロックで指定した条件を満たしている間停止します。
MonitorMixin::ConditionVariable#signal や
MonitorMixin::ConditionVariable#broadcast で
スレッドが起こされると、ロックを取得し、ブロックを評価し
その結果によってこのメソッドから抜け処理を継続するか
再びロックを開放しスレッドを停止するかを決めます。
@raise ThreadError ロックを持っていないスレッドがこのメソッドを呼びだした場合に発生します
@see MonitorMixin::ConditionV... -
Shell
:: ProcessController # terminate _ job(command) (36301.0) -
指定されたコマンドを終了します。
指定されたコマンドを終了します。
@param command コマンドを指定します。 -
Syslog
:: Logger :: Formatter # call(severity , time , progname , message) -> String (36301.0) -
引数を元にフォーマットした文字列を返します。
引数を元にフォーマットした文字列を返します。
ライブラリ内部で使用します。 -
CSV
:: MalformedCSVError (36001.0) -
不正な CSV をパースしようとしたときに発生する例外です。
不正な CSV をパースしようとしたときに発生する例外です。 -
Gem
:: FilePermissionError (36001.0) -
ファイルの権限に関する例外です。
ファイルの権限に関する例外です。 -
Gem
:: OldFormat (36001.0) -
RubyGems の Gem ファイルの内部構造を表すクラスです。
RubyGems の Gem ファイルの内部構造を表すクラスです。
@see Gem::Format -
Gem
:: Platform (36001.0) -
選択した Gem のインストールを実行できるプラットフォームのリストを扱うクラスです。
選択した Gem のインストールを実行できるプラットフォームのリストを扱うクラスです。 -
Net
:: HTTPMovedPermanently (36001.0) -
HTTP レスポンス 301 (Moved Permanently) を表現するクラスです。
HTTP レスポンス 301 (Moved Permanently) を表現するクラスです。
詳しくは 7231 Section 6.4.2 を見てください。 -
RDoc
:: NormalClass (36001.0) -
クラスを表現するためのクラスです。
クラスを表現するためのクラスです。
特異クラスや匿名クラスは含まれません。
ライブラリの内部で使用します。 -
RDoc
:: NormalModule (36001.0) -
モジュールを表現するクラスです。
モジュールを表現するクラスです。
ライブラリの内部で使用します。 -
RSS
:: NotWellFormedError (36001.0) -
-
Syslog
:: Logger :: Formatter (36001.0) -
Syslog::Logger のデフォルトのログフォーマッタクラスです。
Syslog::Logger のデフォルトのログフォーマッタクラスです。 -
WEBrick
:: HTTPStatus :: MovedPermanently (36001.0) -
HTTP のステータスコード 301 Moved Permanently を表すクラスです。
HTTP のステータスコード 301 Moved Permanently を表すクラスです。 -
rdoc
/ normal _ class (36001.0) -
RDoc::NormalClass を定義するサブライブラリです。
RDoc::NormalClass を定義するサブライブラリです。 -
rdoc
/ normal _ module (36001.0) -
RDoc::NormalModule を定義するサブライブラリです。
RDoc::NormalModule を定義するサブライブラリです。 -
rubygems
/ old _ format (36001.0) -
RubyGems の Gem ファイルの内部構造を扱うためのライブラリです。
RubyGems の Gem ファイルの内部構造を扱うためのライブラリです。
@see rubygems/format -
rubygems
/ platform (36001.0) -
選択した Gem のインストールを実行できるプラットフォームのリストを扱うライブラリです。
選択した Gem のインストールを実行できるプラットフォームのリストを扱うライブラリです。 -
RDoc
:: TopLevel # add _ class _ or _ module(collection , class _ type , name , superclass) -> RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule (29101.0) -
collection に name で指定したクラス、モジュールを追加します。
collection に name で指定したクラス、モジュールを追加します。
@param collection クラス、モジュールを追加する先を Hash オブジェ
クトで指定します。
@param class_type 追加するクラス、モジュールを RDoc::NormalClass、
RDoc::SingleClass、RDoc::NormalModule オ
ブジェクトのいずれかで指定します。
@param name クラス名を文字列で指定します。
@param su... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (27901.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="app... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String (27901.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI スクリプト名です。
@param enctype enctype 属性の値を指定します。デフォルトは "application/x-www-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="app... -
Gem
:: Format . from _ file _ by _ path(file _ path , security _ policy = nil) -> Gem :: Format (27901.0) -
@todo security_policy
@todo security_policy
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。
@param security_policy ??? -
Gem
:: OldFormat . from _ file _ by _ path(file _ path) -> Gem :: OldFormat (27901.0) -
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
Gem ファイルのパスからデータを読み込んで、自身を初期化して返します。
@param file_path Gem ファイルへのパスを指定します。 -
RDoc
:: TopLevel # find _ module _ named(name) -> RDoc :: NormalModule (27901.0) -
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。 見つからなかった場合は nil を返します。
RDoc が収集したクラスの内、name で指定した名前のモジュールを返します。
見つからなかった場合は nil を返します。
@param name モジュール名を文字列で指定します。 -
RDoc
:: TopLevel . all _ classes _ and _ modules -> [RDoc :: NormalClass | RDoc :: SingleClass | RDoc :: NormalModule] (27901.0) -
RDoc が収集したクラス、モジュールを配列で返します。
RDoc が収集したクラス、モジュールを配列で返します。 -
Kernel
# rm _ f(*files) -> () (27688.0) -
FileUtils.#rm_f のラッパーメソッドです。
FileUtils.#rm_f のラッパーメソッドです。
@param files ファイルのリストか、Dir.globで利用できる glob パターンを指定します。
最後の要素が Hash の場合は FileUtils.#rm_f の第二引数になります。
@see FileUtils.#rm_f, Dir.glob -
Kernel
# rm _ rf(*files) -> () (27688.0) -
FileUtils.#rm_rf のラッパーメソッドです。
FileUtils.#rm_rf のラッパーメソッドです。
@param files ファイルのリストか、Dir.globで利用できる glob パターンを指定します。
最後の要素が Hash の場合は FileUtils.#rm_f の第二引数になります。
@see FileUtils.#rm_rf, Dir.glob -
FileUtils
. # rm _ f(list , options = {}) -> () (27670.0) -
FileUtils.rm(list, force: true) と同じです。
FileUtils.rm(list, force: true) と同じです。
c:FileUtils#options
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose が指定できます。
:force がセットされた場合は作業中すべての StandardError を無視します。
@see FileUtils.#rm -
FileUtils
. # safe _ unlink(list , options = {}) -> () (27670.0) -
FileUtils.rm(list, force: true) と同じです。
FileUtils.rm(list, force: true) と同じです。
c:FileUtils#options
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose が指定できます。
:force がセットされた場合は作業中すべての StandardError を無視します。
@see FileUtils.#rm -
FileUtils
. # rm _ r(list , options = {}) -> () (27658.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
ファイルまたはディレクトリ list を再帰的に消去します。
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :force, :noop, :verbose, :secure が指定できます。
c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUtils.#remove_entry_secure... -
FileUtils
. # rm _ rf(list , options = {}) -> () (27658.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
ファイルまたはディレクトリ list を再帰的に消去します。
rm_r(list, force: true) と同じです。
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose, :secure が指定できます。
c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUt... -
FileUtils
. # rmtree(list , options = {}) -> () (27658.0) -
ファイルまたはディレクトリ list を再帰的に消去します。
ファイルまたはディレクトリ list を再帰的に消去します。
rm_r(list, force: true) と同じです。
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose, :secure が指定できます。
c:FileUtils#options
=== 注意
このメソッドにはローカル脆弱性が存在します。
この脆弱性を回避するには :secure オプションを使用してください。
詳しくは FileUt... -
WEBrick
:: AccessLog :: COMMON _ LOG _ FORMAT -> String (27619.0) -
Apache のアクセスログで一般的に使われる形式を表す文字列です。
Apache のアクセスログで一般的に使われる形式を表す文字列です。
@return 以下の文字列を返します。
//emlist{{
"%h %l %u %t \"%r\" %s %b"
//}} -
Gem
:: Format # file _ entries=(file _ entries) (27601.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries -
Gem
:: Installer . exec _ format=(format) (27601.0) -
実行ファイル名のフォーマットをセットします。
実行ファイル名のフォーマットをセットします。
@param format 実行ファイル名のフォーマットを指定します。 -
Gem
:: OldFormat # file _ entries=(file _ entries) (27601.0) -
Gem パッケージに含まれるファイルの配列をセットします。
Gem パッケージに含まれるファイルの配列をセットします。
@param file_entries -
Gem
:: Platform . local -> Gem :: Platform (27601.0) -
@todo ???
@todo ??? -
GetoptLong
# terminate -> self (27601.0) -
オプションの処理を、強制的に終了させます。ただし、エラーが起き ている状態でこのメソッドを起動しても、終了させることはできません。
オプションの処理を、強制的に終了させます。ただし、エラーが起き
ている状態でこのメソッドを起動しても、終了させることはできません。
すでにオプションの処理が終了しているときは、このメソッドは何も行いません。
@raise RuntimeError エラーが起きている状態でこのメソッドを起動すると、発生します -
GetoptLong
# terminated? -> true | false (27601.0) -
エラーが起きずにオプションの処理が終了しているときは真が 返ります。それ以外のときは、偽が返ります。
エラーが起きずにオプションの処理が終了しているときは真が
返ります。それ以外のときは、偽が返ります。 -
Kernel
. # format(format , *arg) -> String (27601.0) -
format 文字列を C 言語の sprintf と同じように解釈し、 引数をフォーマットした文字列を返します。
format 文字列を C 言語の sprintf と同じように解釈し、
引数をフォーマットした文字列を返します。
@param format フォーマット文字列です。
@param arg フォーマットされる引数です。
@see Kernel.#printf,Time#strftime,Date.strptime
=== sprintf フォーマット
Ruby の sprintf フォーマットは基本的に C 言語の sprintf(3)
のものと同じです。ただし、short や long などの C 特有の型に対する修飾子が
ないこと、2進数の指示子(%b, %B)が存在すること、s... -
Logger
# datetime _ format -> String | nil (27601.0) -
ログに記録する時の日付のフォーマットです。
ログに記録する時の日付のフォーマットです。
デフォルトでは nil ですが、この値が nil の場合は日付のフォーマットとして
"%Y-%m-%dT%H:%M:%S.%06d " を使用します。
なお、"%06d" には Time#strftime ではなく、単に Time#usec の
値を String#% でフォーマットしたものが入ります。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.datetime_format # => nil
logger.debug("test")
lo... -
Logger
# datetime _ format=(format) (27601.0) -
ログに記録する時の日付のフォーマットをセットします。
ログに記録する時の日付のフォーマットをセットします。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.datetime_format # => nil
logger.debug("test")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d' # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.datetime_format # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.debug("test"...