1312件ヒット
[1-100件を表示]
(0.138秒)
ライブラリ
- ビルトイン (158)
- csv (110)
- date (11)
- digest (11)
- fiber (8)
- fiddle (11)
- gdbm (22)
-
io
/ console (33) - json (308)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / time (11) - matrix (110)
-
net
/ http (11) -
net
/ pop (33) - openssl (55)
- optparse (22)
- ostruct (9)
- pathname (11)
- pp (4)
- prime (11)
- pstore (11)
- sdbm (22)
- set (44)
- shell (12)
-
shell
/ filter (12) - socket (33)
- stringio (44)
- strscan (22)
- thread (8)
- thwait (12)
-
webrick
/ log (11) - zlib (33)
クラス
- Addrinfo (22)
- Array (19)
- BigDecimal (11)
- Binding (8)
- CSV (33)
-
CSV
:: FieldInfo (33) -
CSV
:: Row (33) -
CSV
:: Table (11) - Complex (11)
- Date (11)
- DateTime (22)
- Enumerator (11)
- Exception (11)
- Fiber (11)
-
Fiddle
:: Pointer (11) - GDBM (22)
- IO (33)
-
JSON
:: Parser (11) -
JSON
:: State (154) - Matrix (110)
-
Net
:: HTTPGenericRequest (11) -
Net
:: POPMail (33) - Object (18)
-
OpenSSL
:: ASN1 :: ObjectId (55) - OpenStruct (9)
- OptionParser (11)
- PStore (11)
- Pathname (11)
- Prime (11)
- Random (22)
- Range (23)
- Rational (11)
- Regexp (11)
- SDBM (22)
- Set (44)
- Shell (12)
-
Shell
:: Filter (12) - String (11)
- StringIO (44)
- StringScanner (22)
- Struct (11)
-
Thread
:: Queue (11) -
Thread
:: SizedQueue (33) - ThreadsWait (12)
- Time (11)
- UNIXSocket (11)
-
WEBrick
:: BasicLog (11) -
Zlib
:: Deflate (11) -
Zlib
:: GzipWriter (22)
モジュール
- Enumerable (22)
-
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 (22) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (44)
-
OptionParser
:: Arguable (11)
キーワード
- << (11)
- Digest (11)
- JSON (11)
- [] (22)
- adjugate (11)
- all (11)
-
array
_ nl (11) - bind (11)
-
body
_ stream (11) -
check
_ circular? (11) -
cofactor
_ expansion (11) - column (22)
- component (11)
- configure (11)
- conj (11)
- conjugate (11)
-
connect
_ from (11) - convert (22)
- cooked (11)
- delete (33)
- deq (11)
- dig (9)
- disjoint? (11)
- divide (22)
- each (11)
- element (11)
- entries (17)
- fetch (22)
- field (11)
- flush (11)
- header (11)
- indent (11)
- indent= (11)
- index (11)
- irb (8)
- jisx0301 (11)
- jj (11)
- join (17)
-
join
_ nowait (6) -
laplace
_ expansion (11) - line (11)
- ln (11)
-
long
_ name (11) - mail (11)
-
max
_ nesting (11) -
max
_ nesting= (11) - merge (11)
- noecho (11)
-
object
_ nl (11) -
object
_ nl= (11) - oid (11)
- pack (19)
- params (11)
- pop (22)
-
pretty
_ print (4) - print (11)
- printf (11)
- pushd (6)
- pushdir (6)
- putc (11)
- puts (11)
- rand (22)
- raw (11)
-
recv
_ io (11) - reject (11)
- reject! (22)
-
scan
_ full (11) -
search
_ full (11) - shift (22)
-
short
_ name (11) - sn (11)
- source (11)
- space (11)
- space= (11)
-
space
_ before (11) -
space
_ before= (11) -
to
_ a (17) -
to
_ json (209) -
to
_ json _ raw _ object (11) -
to
_ value (11) - transact (6)
- transaction (11)
- transfer (11)
-
unconverted
_ fields? (11) - unpack (11)
-
with
_ index (11) - write (11)
-
yield
_ self (14) - | (6)
検索結果
先頭5件
-
IO
# raw(min: 1 , time: 0 , intr: false) {|io| . . . } -> object (23307.0) -
raw モード、行編集を無効にして指定されたブロックを評価します。
...。
@param min 入力操作 (read) 時に受信したい最小のバイト数を指定します。min 値以上のバイト数を受信するまで、操作がブロッキングされます。
@param time タイムアウトするまでの秒数を指定します。time よりも min が優先さ......れるため、入力バイト数が min 値以上になるまでは、time 値に関わらず操作がブロッキングされます。
@param intr trueを指定した場合は、割り込み (interrupt) 、中止 (quit) 、停止 (suspend) の各シグナルを生成する制御文字が有効に......制御については、 termios のマニュアル:https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html を参照してください。
@raise LocalJumpError ブロックを指定しなかった場合に発生します。
@raise ArgumentError intr に true または false 以... -
IO
# cooked {|io| . . . } -> object (23207.0) -
cooked モードを有効にして指定されたブロックを評価します。
...す。ブロックを評価した結果を返します。
@raise LocalJumpError ブロックを指定しなかった場合に発生します。
以下の例では、標準入力からエコーバック付きで文字列を一行読み込みます。
require "io/console"
STDIN.cooked(&:gets)... -
IO
# noecho {|io| . . . } -> object (23207.0) -
文字入力時のエコーバックを無効に設定してブロックを評価します。
...す。ブロックを評価した結果を返します。
以下の例では、標準入力からエコーバックなしで文字列を一行読み込みます。
require "io/console"
STDIN.noecho(&:gets)
@raise LocalJumpError ブロックを指定しなかった場合に発生します。... -
Kernel
# j(*objects) -> nil (18214.0) -
与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
...与えられたオブジェクトを JSON 形式の文字列で標準出力に一行で出力します。
@param objects JSON 形式で出力したいオブジェクトを指定します。
//emlist[例][ruby]{
require "json"
j([1,2,{"name" => "tanaka","age" => 19}])
# => [1,2,{"name":"tanaka","... -
ThreadsWait
# join _ nowait(*threads) -> () (15213.0) -
終了を待つスレッドの対象として、threads で指定されたスレッドを指定します。 しかし、実際には終了をまちません。
...つスレッドに指定されたthreadsを加えます。
require 'thwait'
threads = []
5.times {|i|
threads << Thread.new { sleep 1; p Thread.current }
}
thall = ThreadsWait.new
p thall.threads #=> []
thall.join_nowait(*threads)
p thall.threads #=> [#<Thread:0x21638 sleep>,... -
ThreadsWait
# join(*threads) -> () (12213.0) -
終了を待つスレッドの対象として、threads で指定されたスレッドを指定します。
...待つスレッドに指定されたthreadsを加えます。
require 'thwait'
threads = []
5.times {|i|
threads << Thread.new { sleep 1; p Thread.current }
}
thall = ThreadsWait.new
p thall.threads #=> []
thall.join(*threads)
p thall.threads
#=> [#<Thread:0x216ec dead>, #<T... -
DateTime
# jisx0301(n = 0) -> String (12207.0) -
X 0301 書式の文字列を返します。 省略可能な引数により、印字する秒の小数点以下の桁数を与えることができます。
...返します。
省略可能な引数により、印字する秒の小数点以下の桁数を与えることができます。
@param n 小数点以下の桁数
例:
require 'date'
DateTime.parse('2001-02-03T04:05:06.123456789+07:00').jisx0301(9)
#=> "H13.02.03T04:05:06.123456789+07:00"... -
JSON
:: Generator :: GeneratorMethods :: Integer # to _ json(state _ or _ hash = nil) -> String (12207.0) -
自身から生成した JSON 形式の文字列を返します。
...自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を......指定します。
//emlist[例][ruby]{
require "json"
10.to_json # => "10"
//}... -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (12207.0) -
自身から生成した JSON 形式の文字列を返します。
...ら生成した JSON 形式の文字列を返します。
"null" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の......引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
nil.to_json # => "null"
//}... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (12207.0) -
自身から生成した JSON 形式の文字列を返します。
...から生成した JSON 形式の文字列を返します。
自身のエンコードは UTF-8 であるべきです。
"\u????" のように UTF-16 ビッグエンディアンでエンコードされた文字列を返すことがあります。
@param state_or_hash 生成する JSON 形式の文...... JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
puts "test".to_json # => "test"
puts '"'.to_json # => "\""
puts "\\".to_jso......n # => "\\"
puts "𤘩宮城".to_json(ascii_only: true) # => "\ud851\ude29\u5bae\u57ce"
//}...