4163件ヒット
[1-100件を表示]
(0.096秒)
別のキーワード
ライブラリ
- ビルトイン (245)
- bigdecimal (192)
-
bigdecimal
/ util (43) - csv (216)
- dbm (36)
- digest (36)
- erb (36)
- fiddle (108)
-
fiddle
/ import (36) - forwardable (24)
- getoptlong (24)
- ipaddr (60)
- json (144)
-
json
/ add / bigdecimal (12) -
json
/ add / complex (12) -
json
/ add / date (12) -
json
/ add / date _ time (12) -
json
/ add / exception (12) -
json
/ add / range (12) -
json
/ add / rational (12) -
json
/ add / regexp (12) -
json
/ add / struct (12) -
json
/ add / time (12) - logger (12)
- matrix (620)
- mkmf (12)
- monitor (54)
-
net
/ http (48) -
net
/ smtp (60) - openssl (176)
- optparse (216)
- ostruct (43)
- pathname (324)
- prime (132)
- pstore (60)
- rake (12)
-
rdoc
/ context (12) -
rdoc
/ markup (36) -
rdoc
/ markup / formatter (12) -
rexml
/ document (252) -
rubygems
/ requirement (12) -
rubygems
/ specification (24) - sdbm (48)
- set (37)
- shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (54) - socket (72)
- stringio (62)
- tsort (33)
- uri (156)
-
webrick
/ httpresponse (84) -
webrick
/ httputils (24) -
webrick
/ httpversion (12) -
webrick
/ log (24) - zlib (72)
クラス
- Addrinfo (48)
- Array (81)
- BasicSocket (12)
- BigDecimal (204)
- CSV (60)
-
CSV
:: FieldInfo (12) -
CSV
:: Row (48) -
CSV
:: Table (84) - Complex (12)
- DBM (36)
- Date (12)
- DateTime (12)
-
Digest
:: Base (36) - ERB (36)
- Enumerator (24)
- Exception (12)
-
Fiddle
:: Pointer (108) - Float (24)
-
Gem
:: Requirement (12) -
Gem
:: Specification (24) - GetoptLong (24)
- IPAddr (60)
- Integer (24)
-
JSON
:: State (24) - Logger (12)
- Matrix (314)
-
Matrix
:: LUPDecomposition (12) - Module (12)
- Monitor (42)
-
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: SMTP (60) - NilClass (7)
- Object (30)
-
OpenSSL
:: BN (116) -
OpenSSL
:: X509 :: ExtensionFactory (12) -
OpenSSL
:: X509 :: Name (24) -
OpenSSL
:: X509 :: StoreContext (12) - OpenStruct (43)
- OptionParser (204)
- PStore (60)
- Pathname (324)
- Prime (36)
-
Prime
:: EratosthenesGenerator (36) -
Prime
:: PseudoPrimeGenerator (48) -
RDoc
:: Context (12) -
RDoc
:: Markup (36) -
RDoc
:: Markup :: Formatter (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (12) -
REXML
:: CData (24) -
REXML
:: Child (24) -
REXML
:: Element (72) -
REXML
:: Elements (72) -
REXML
:: Text (36) -
Rake
:: DefaultLoader (12) - Random (36)
- Range (26)
- Rational (24)
- Regexp (12)
-
RubyVM
:: InstructionSequence (12) - SDBM (48)
- Set (19)
- Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (54) - String (12)
- StringIO (62)
- Struct (12)
- Time (12)
- UNIXSocket (12)
-
URI
:: Generic (84) -
URI
:: MailTo (72) - Vector (294)
-
WEBrick
:: BasicLog (24) -
WEBrick
:: HTTPResponse (84) -
WEBrick
:: HTTPUtils :: FormData (24) -
WEBrick
:: HTTPVersion (12) -
Zlib
:: GzipReader (36) -
Zlib
:: GzipWriter (36)
モジュール
- Enumerable (54)
-
Fiddle
:: Importer (36) - Forwardable (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 (24) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (12)
- MonitorMixin (12)
-
OptionParser
:: Arguable (12) - TSort (33)
キーワード
- % (12)
- * (24)
- +@ (12)
- -@ (12)
- << (60)
- > (6)
- >> (18)
- [] (24)
- []= (62)
- abort (12)
- abs (12)
- absolute? (12)
- add (12)
-
add
_ element (12) -
add
_ html (12) -
add
_ namespace (24) -
add
_ special (12) -
add
_ tag (12) -
add
_ to (12) -
add
_ word _ pair (12) -
angle
_ with (12) - ascend (24)
- atime (12)
- autoload (12)
- autorequire (12)
- autorequire= (12)
- basename (12)
- bind (12)
- binread (12)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - bytes (7)
- cat (18)
- ceil (24)
- children (12)
- chown (12)
- chunked= (12)
- coerce (12)
-
cofactor
_ expansion (12) -
col
_ sep (12) - collect (36)
- collect! (21)
- collect2 (24)
- column (12)
-
column
_ vectors (12) - commit (12)
- config= (12)
-
content
_ length (12) -
content
_ length= (12) - covector (12)
-
create
_ makefile (12) - ctime (12)
-
def
_ delegator (12) -
def
_ instance _ delegator (12) - delete (48)
-
delete
_ all (12) -
delete
_ element (12) -
delete
_ if (24) -
delete
_ namespace (12) - descend (24)
- dirname (12)
- each (72)
-
each
_ byte (24) -
each
_ child (24) -
each
_ entry (15) -
each
_ line (48) -
each
_ pair (24) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (11) -
each
_ with _ index (48) - echo (18)
- eigen (12)
- eigensystem (12)
-
elements
_ to _ f (12) -
elements
_ to _ i (12) -
elements
_ to _ r (12) - empty? (9)
- enter (12)
- entries (19)
- error= (12)
- exit (12)
- fatal (12)
- fetch (12)
- file (12)
- find (24)
-
find
_ index (36) - floor (24)
- fnmatch (12)
- formatter (12)
- getopts (12)
- glob (18)
-
header
_ convert (36) -
header
_ converters (12) - headers (12)
- headers= (12)
- help (12)
- hexdigest (12)
- hostname= (12)
-
http
_ version (12) - independent? (12)
- index (36)
- inspect (5)
-
ipv6
_ to _ ipv4 (12) -
laplace
_ expansion (12) - line (12)
- lines (7)
- list (12)
- load (12)
- lshift! (12)
- lup (12)
-
lup
_ decomposition (12) - magnitude (12)
- map (36)
- map! (21)
- map2 (12)
-
mask
_ bits! (12) - merge! (12)
- minor (24)
-
mod
_ inverse (12) - modulo (12)
-
mon
_ enter (18) -
mon
_ exit (6) - negative? (8)
- next (12)
-
next
_ sibling= (12) - norm (12)
- normalize (24)
- normalize! (12)
-
num
_ bytes (12) - order (36)
- order! (18)
- ordering= (12)
- pack (21)
- parse (18)
- parse! (9)
- permute (18)
- permute! (9)
-
pretty
_ print (12) -
previous
_ sibling= (12) -
prime
_ division (24) -
program
_ name (12) -
program
_ name= (12) - protocol (12)
- ptr (12)
- putc (12)
- r (12)
- rand (36)
-
read
_ body (24) - ready (12)
- ref (12)
-
relative
_ path _ from (12) - remainder (12)
- replace (12)
- result (12)
- rewind (12)
- round (36)
-
route
_ to (12) - row (12)
-
row
_ vectors (12) - rshift! (12)
- run (12)
- sample (48)
-
send
_ io (12) -
send
_ mail (12) - sendmail (12)
- separator (12)
- setsockopt (12)
- sizeof (12)
- solve (12)
- split (24)
- src (12)
- store (12)
- struct (12)
- succ (24)
- summarize (24)
- tee (18)
- text= (12)
- then (14)
- to= (12)
-
to
_ a (154) -
to
_ ary (12) -
to
_ bn (12) -
to
_ csv (36) -
to
_ d (43) -
to
_ h (31) -
to
_ hash (48) -
to
_ i (12) -
to
_ json (228) -
to
_ json _ raw _ object (12) -
to
_ mailtext (12) -
to
_ range (12) -
to
_ rfc822text (12) -
to
_ s (239) -
to
_ set (18) -
to
_ sockaddr (12) -
to
_ string (24) -
to
_ value (12) - transaction (12)
- truncate (24)
-
tsort
_ each (11) - unlink (12)
- unpack (12)
- update (12)
- userinfo= (12)
- value (24)
- value= (12)
-
wait
_ for _ cond (6) -
with
_ index (48) - write (24)
-
yield
_ self (16) - | (6)
検索結果
先頭5件
-
URI
:: MailTo # to -> String (21114.0) -
自身の e-mail アドレスを文字列で返します。
...自身の e-mail アドレスを文字列で返します。
例:
require 'uri'
p URI.parse("mailto:nospam@example.com").to #=> "nospam@example.com"... -
Gem
:: Specification # autorequire -> String (12201.0) -
非推奨の属性です。
非推奨の属性です。 -
Gem
:: Specification # autorequire=(lib) (12201.0) -
非推奨の属性です。
非推奨の属性です。 -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (12142.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生......st[例][ruby]{
require "json"
class Person
attr :name, :age
def initialize(name, age)
@name, @age = name, age
end
end
tanaka = Person.new("tanaka", 29)
tanaka.to_json # => "\"#<Person:0x00007ffdec0167c8>\""
tanaka.method(:to_json).owner # => JSON::Ext::Generator::GeneratorMethods::Obje... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json(state _ or _ hash = nil) -> String (12132.0) -
自身から生成した JSON 形式の文字列を返します。
...指定します。
//emlist[例][ruby]{
require "json"
puts "test".to_json # => "test"
puts '"'.to_json # => "\""
puts "\\".to_json # => "\\"
puts "𤘩宮城".to_json(ascii_only: true) # => "\ud851\ude29\u5bae\u57ce"
/... -
JSON
:: Generator :: GeneratorMethods :: String # to _ json _ raw _ object -> Hash (12120.0) -
生の文字列を格納したハッシュを生成します。
...する場合に使用してください。
require 'json'
"にほんご".encode("euc-jp").to_json_raw_object
# => {"json_class"=>"String", "raw"=>[164, 203, 164, 219, 164, 243, 164, 180]}
"にほんご".encode("euc-jp").to_json # source sequence is illegal/malformed (JSON::GeneratorError)... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (12114.0) -
自身から生成した JSON 形式の文字列を返します。
...N 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
[1, 2, 3].to_json # => "[1,2,3]"
//}... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (12114.0) -
自身から生成した JSON 形式の文字列を返します。
...JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}... -
JSON
:: Generator :: GeneratorMethods :: Float # to _ json(state _ or _ hash = nil) -> String (12114.0) -
自身から生成した JSON 形式の文字列を返します。
...る JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
(1.0).to_json # => "1.0"
//}...