1527件ヒット
[1-100件を表示]
(0.048秒)
別のキーワード
ライブラリ
- ビルトイン (542)
- csv (72)
- json (240)
-
minitest
/ unit (1) - mkmf (24)
-
net
/ ftp (24) -
net
/ imap (12) -
net
/ pop (12) - observer (12)
- open3 (48)
- openssl (60)
- pathname (36)
- pty (12)
- rake (36)
-
rdoc
/ parser (12) -
rdoc
/ parser / c (12) -
rdoc
/ parser / ruby (12) -
rdoc
/ parser / simple (12) -
rdoc
/ stats (48) -
rdoc
/ top _ level (12) -
ripper
/ lexer (8) -
rubygems
/ user _ interaction (60) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) -
webrick
/ httpresponse (36) -
webrick
/ httpstatus (96)
クラス
- CSV (72)
- Dir (12)
- Encoding (24)
-
Enumerator
:: Lazy (24) - File (84)
-
File
:: Stat (96) -
Gem
:: StreamUI (60) - IO (24)
-
JSON
:: State (108) -
MiniTest
:: Unit (1) -
Net
:: FTP (24) -
Net
:: IMAP (12) -
Net
:: POP3 (12) -
OpenSSL
:: OCSP :: BasicResponse (24) -
OpenSSL
:: OCSP :: Response (36) - Pathname (36)
-
Process
:: Status (36) -
RDoc
:: Options (12) -
RDoc
:: Parser (12) -
RDoc
:: Parser :: C (12) -
RDoc
:: Parser :: Ruby (12) -
RDoc
:: Parser :: Simple (12) -
RDoc
:: Stats (48) -
RDoc
:: TopLevel (12) -
Rake
:: Application (12) - Ripper (8)
- Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) - SystemExit (12)
- Thread (54)
-
WEBrick
:: HTTPResponse (36)
モジュール
- FileUtils (24)
- GC (48)
- JSON (24)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (60)
- Marshal (24)
- Observable (12)
- Open3 (48)
- PTY (12)
- Process (56)
-
WEBrick
:: HTTPStatus (96)
キーワード
-
$ ? (12) - & (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- == (12)
- >> (12)
- GC (12)
-
NEWS for Ruby 3
. 1 . 0 (4) -
STATELESS
_ ISO _ 2022 _ JP _ KDDI (12) -
Stateless
_ ISO _ 2022 _ JP _ KDDI (12) - [] (12)
-
abort
_ on _ exception= (24) -
add
_ status (12) - alert (12)
-
alert
_ error (12) -
alert
_ warning (12) -
allow
_ nan? (12) - atime (12)
- birthtime (12)
- capture2 (12)
- capture2e (12)
- capture3 (12)
- changed (12)
- check (12)
- chown (36)
- chunk (12)
-
client
_ error? (12) - configure (12)
- create (12)
- ctime (12)
-
debug
_ mode (12) - directory? (12)
- dump (24)
- error? (12)
- exit (24)
- exit! (24)
-
file
_ stat= (12) -
from
_ state (12) - generate (12)
- indent= (12)
- info? (12)
-
last
_ status (8) -
latest
_ gc _ info (24) - lchmod (12)
- lchown (12)
- lex (8)
- lstat (54)
- merge (12)
- mkdir (12)
- mtime (12)
- new (72)
-
num
_ classes= (12) -
num
_ files= (12) -
num
_ methods= (12) -
num
_ modules= (12) -
object
_ nl= (12) - open (48)
-
parser
_ for (12) - pipeline (12)
-
reason
_ phrase (12) - redirect? (12)
-
report
_ on _ exception= (18) - ruby (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) - say (12)
-
server
_ error? (12) -
set
_ debug _ output (12) -
set
_ error (12) -
set
_ redirect (12) - sh (12)
-
slice
_ before (12) - space= (12)
-
space
_ before= (12) -
static
_ path= (12) - status (61)
- status= (12)
-
status
_ string (12) - success? (12)
- symlink? (12)
- sync= (24)
-
terminate
_ interaction (12) -
to
_ json (108) -
try
_ static _ assert (24) -
tty
_ output= (12) - unparse (12)
- wait2 (12)
- waitpid2 (12)
検索結果
先頭5件
-
File
. stat(filename) -> File :: Stat (18260.0) -
filename の情報を含む File::Stat オブジェクトを生成し て返します。
...File::Stat オブジェクトを生成し
て返します。
@param filename ファイル名を表す文字列を指定します。
@raise Errno::EXXX 情報の取得に失敗した場合に発生します。
//emlist[例][ruby]{
File.stat("testfile").class # => File::Stat
File.stat("testfile......").mtime # => 2017-12-10 01:13:56 +0900
//}
@see IO#stat, File#lstat... -
IO
# stat -> File :: Stat (18248.0) -
ファイルのステータスを含む File::Stat オブジェクトを生成して 返します。
...ファイルのステータスを含む File::Stat オブジェクトを生成して
返します。
@raise Errno::EXXX ステータスの読み込みに失敗した場合に発生します。
@raise IOError 既に close されていた場合に発生します。
//emlist[例][ruby]{
IO.write("......testfile", "This is line one\nThis is line two\n")
File.open("testfile") do |f|
s = f.stat
"%o" % s.mode # => "100644"
s.blksize # => 4096
s.atime # => 2018-03-01 23:19:59 +0900
end
//}
@see File#lstat, File.stat, File.lstat... -
CSV
# stat -> File :: Stat (18230.0) -
IO#stat に委譲します。
...IO#stat に委譲します。
@see IO#stat... -
Pathname
# stat -> File :: Stat (18230.0) -
File.stat(self.to_s) と同じです。
...File.stat(self.to_s) と同じです。
@see File.stat... -
Shell
# stat(filename) -> File :: Stat (18220.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
:: CommandProcessor # stat(filename) -> File :: Stat (18220.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
:: Filter # stat(filename) -> File :: Stat (18220.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
GC
. stat(key) -> Numeric (18126.0) -
GC 内部の統計情報を Hash で返します。
...情報を Hash で返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる統計情報か......報を取得したい場合にキーを
Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_incr......報を取得したい場合にキーを
Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_len... -
GC
. stat(result _ hash = {}) -> {Symbol => Integer} (18126.0) -
GC 内部の統計情報を Hash で返します。
...情報を Hash で返します。
@param result_hash 戻り値のためのハッシュを指定します。省略した場合は新
しくハッシュを作成します。result_hash の内容は上書き
されます。
@param key 得られる統計情報か......報を取得したい場合にキーを
Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>2,
:heap_used=>9,
:heap_length=>11,
:heap_incr......報を取得したい場合にキーを
Symbol で指定します。
@return GC 内部の統計情報をHash で返します。
引数 key を指定した場合は数値を返します。
GC.stat
# =>
{
:count=>0,
:heap_allocated_pages=>24,
:heap_sorted_len... -
JSON
:: State . from _ state(options) -> JSON :: State (9212.0) -
与えられた options によって生成した JSON::State のインスタンスを返します。
...JSON::State のインスタンスを返します。
@param options JSON::State のインスタンスか、ハッシュを指定します。
@return options がハッシュである場合は、それによって初期化した JSON::State を
返します。options が JSON::State のイ......いない JSON::State の
インスタンスを返します。
//emlist[例 Hash を指定][ruby]{
require "json"
json_state = JSON::State.from_state(indent: "\t")
json_state.class # => JSON::Ext::Generator::State
json_state.indent # => "\t"
//}
//emlist[例 JSON::State を指定][ruby]{......require "json"
json_state = JSON::State.from_state(indent: "\t")
# JSON を出力する何らかの処理を実行する
copy = JSON::State.from_state(json_state)
copy.class # => JSON::Ext::Generator::State
copy.indent # => "\t"
//}...