2005件ヒット
[1-100件を表示]
(0.024秒)
種類
ライブラリ
- ビルトイン (1158)
- delegate (12)
- erb (12)
-
irb
/ extend-command (12) - json (228)
-
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) -
net
/ http (12) - objspace (48)
- openssl (48)
- optparse (24)
- pp (36)
- psych (31)
-
rdoc
/ code _ object (12) -
rdoc
/ generator / json _ index (12) - timeout (37)
- win32ole (24)
クラス
-
ARGF
. class (12) - BasicObject (144)
- BigDecimal (12)
- Class (60)
- Complex (12)
- Date (12)
- DateTime (12)
- Dir (24)
- ERB (12)
-
Enumerator
:: Lazy (12) - Exception (12)
- File (12)
- IO (12)
-
JSON
:: Parser (24) -
JSON
:: State (24) - Method (68)
- Module (132)
- NameError (10)
-
Net
:: HTTPResponse (12) - Object (492)
-
OpenSSL
:: ASN1 :: ObjectId (24) - OptionParser (24)
- PP (12)
-
RDoc
:: CodeObject (12) -
RDoc
:: Generator :: JsonIndex (12) - Range (12)
- Rational (12)
- Regexp (12)
- Struct (12)
- Time (12)
- TracePoint (12)
- UnboundMethod (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPELIB (12)
モジュール
- Enumerable (72)
-
IRB
:: ExtendCommandBundle (12) - JSON (36)
-
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (28)
- Marshal (24)
- ObjectSpace (144)
-
OpenSSL
:: ASN1 (24) - Psych (19)
- Timeout (21)
キーワード
- ! (12)
- != (12)
- == (12)
- === (20)
- ARGF (12)
- BasicObject (12)
-
CLASS
_ OF (12) -
CODE
_ CLASS _ TO _ OBJ (12) - DelegateClass (12)
- FALSE (8)
- FalseClass (24)
-
NEWS for Ruby 2
. 3 . 0 (10) - NIL (8)
- NilClass (24)
- ObjectId (24)
- RCLASS (12)
- RMODULE (12)
- Ruby用語集 (12)
- TRUE (8)
- TrueClass (24)
- [] (24)
-
_ _ send _ _ (24) -
_ dump (12) - allocate (12)
- bind (12)
- call (24)
-
class
_ eval (24) -
class
_ exec (12) -
class
_ variable _ get (12) -
class
_ variable _ set (12) -
const
_ get (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ tdata _ objects (12) -
create
_ id (12) -
create
_ id= (12) -
def
_ class (12) -
def
_ extend _ command (12) -
define
_ finalizer (24) -
define
_ singleton _ method (24) - display (12)
- dump (24)
-
each
_ entry (12) -
each
_ object (48) - extend (12)
-
from
_ state (12) - handler= (12)
- initialize (12)
-
initialize
_ copy (12) - inspect (12)
-
instance
_ eval (24) -
instance
_ exec (12) -
instance
_ of? (12) -
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variables (12) -
is
_ a? (12) -
json
/ add / core (12) -
json
_ creatable? (12) -
kind
_ of? (12) -
marshal
_ dump (12) -
marshal
_ load (12) - max (24)
-
method
_ missing (12) - methods (12)
- min (24)
-
module
_ eval (24) -
module
_ exec (12) - new (132)
-
object
_ group (12) - open (48)
- parameters (12)
- parse (12)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) -
public
_ method (12) - putc (12)
-
rb
_ mod _ class _ variables (12) -
rb
_ obj _ class (12) -
rb
_ singleton _ class (12) -
rb
_ singleton _ class _ attached (12) -
rdoc
/ generator / json _ index (12) -
reachable
_ objects _ from (12) - receiver (22)
- reject (24)
-
remove
_ class _ variable (12) -
remove
_ classes _ and _ modules (12) -
remove
_ const (12) -
remove
_ instance _ variable (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
ruby 1
. 6 feature (12) -
safe
_ load (19) - send (24)
-
singleton
_ class (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) -
sort
_ by (12) -
test
/ unit (1) - timeout (37)
-
to
_ ary (12) -
to
_ hash (12) -
to
_ int (12) -
to
_ json (168) -
to
_ json _ raw _ object (12) -
to
_ proc (12) -
to
_ regexp (12) -
to
_ s (12) -
to
_ str (12) -
trace
_ object _ allocations (12) -
undefine
_ finalizer (12) -
yaml
_ tag (12) - 制御構造 (12)
- 正規表現 (12)
検索結果
先頭5件
-
Object
# class -> Class (21256.0) -
レシーバのクラスを返します。
...レシーバのクラスを返します。
//emlist[][ruby]{
p "ruby".class #=> String
p 100.class #=> Integer
p ARGV.class #=> Array
p self.class #=> Object
p Class.class #=> Class
p Kernel.class #=> Module
//}
@see Class#superclass,Object#kind_of?,Object#instance_of?... -
Class
# json _ creatable? -> bool (15100.0) -
シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は 真を返します。そうでない場合は、偽を返します。
...シリアライズされた JSON 形式の文字列から、インスタンスを作成するのにこのクラスを使用できる場合は
真を返します。そうでない場合は、偽を返します。
このメソッドが真を返すクラスは json_create というメソッドを実......装していなければなりません。
また json_create の第一引数は必要なデータを含むハッシュを期待しています。
//emlist[例][ruby]{
require "json"
String.json_creatable? # => true
Dir.json_creatable? # => false
//}... -
VALUE rb
_ obj _ class(VALUE obj) (12216.0) -
Object#class の実体です。
...Object#class の実体です。... -
Net
:: HTTPResponse :: CODE _ CLASS _ TO _ OBJ -> Hash (12207.0) -
HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を あらわすクラスへのハッシュです。
...HTTP レスポンスステータスコードの最初の数字からレスポンスのクラス(分類)を
あらわすクラスへのハッシュです。
//emlist[][ruby]{
require 'net/http'
Net::HTTPResponse::CODE_CLASS_TO_OBJ['3'] # => Net::HTTPRedirection
//}... -
JSON
:: Generator :: GeneratorMethods :: FalseClass # to _ json(state _ or _ hash = nil) -> String (12100.0) -
自身から生成した JSON 形式の文字列を返します。
...ら生成した JSON 形式の文字列を返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new......の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}... -
JSON
:: Generator :: GeneratorMethods :: NilClass # to _ json(state _ or _ hash = nil) -> String (12100.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 :: TrueClass # to _ json(state _ or _ hash = nil) -> String (12100.0) -
自身から生成した JSON 形式の文字列を返します。
...ら生成した JSON 形式の文字列を返します。
"true" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の......引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
true.to_json # => "true"
//}... -
Class
. new(superclass = Object) -> Class (9332.0) -
新しく名前の付いていない superclass のサブクラスを生成します。
...ていない superclass のサブクラスを生成します。
名前のないクラスは、最初に名前を求める際に代入されている定数名を検
索し、見つかった定数名をクラス名とします。
//emlist[例][ruby]{
p foo = Class.new # => #<Class:0x401b90f8>
p fo...... Class.new(superclass)
klass.module_eval {|m|
# ...
}
klass
//}
この場合も生成したクラスを返します。
ブロックの実行は Class#initialize が行います。
@param superclass 生成するクラスのスーパークラスを指定します。
//emlist[例][ruby]{
k = Class... -
Class
. new(superclass = Object) {|klass| . . . } -> Class (9332.0) -
新しく名前の付いていない superclass のサブクラスを生成します。
...ていない superclass のサブクラスを生成します。
名前のないクラスは、最初に名前を求める際に代入されている定数名を検
索し、見つかった定数名をクラス名とします。
//emlist[例][ruby]{
p foo = Class.new # => #<Class:0x401b90f8>
p fo...... Class.new(superclass)
klass.module_eval {|m|
# ...
}
klass
//}
この場合も生成したクラスを返します。
ブロックの実行は Class#initialize が行います。
@param superclass 生成するクラスのスーパークラスを指定します。
//emlist[例][ruby]{
k = Class...