1400件ヒット
[1-100件を表示]
(0.043秒)
別のキーワード
ライブラリ
- ビルトイン (620)
- delegate (12)
- drb (12)
- erb (12)
-
irb
/ output-method (72) - json (408)
-
minitest
/ spec (1) -
minitest
/ unit (1) - objspace (12)
-
rdoc
/ code _ object (12) - win32ole (72)
クラス
- Array (10)
- BasicObject (72)
- Delegator (12)
- ERB (12)
- Enumerator (31)
-
IRB
:: OutputMethod (60) -
IRB
:: StdioOutputMethod (12) -
JSON
:: State (24) - Method (68)
- Module (24)
- NoMethodError (12)
- Object (217)
- Proc (12)
-
RDoc
:: CodeObject (12) - Regexp (12)
- String (36)
- Thread (12)
- TracePoint (19)
- UnboundMethod (36)
- WIN32OLE (48)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ PARAM (12)
モジュール
-
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 (36) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (24)
- Marshal (24)
-
MiniTest
:: Assertions (1) - ObjectSpace (12)
キーワード
- === (8)
- Array (24)
- BasicObject (12)
- DRbObject (12)
- Extend (24)
- FalseClass (24)
- Float (24)
- Hash (24)
- Integer (24)
-
NEWS for Ruby 2
. 3 . 0 (10) - NilClass (24)
- Object (24)
- Ruby用語集 (12)
- String (24)
- TrueClass (24)
- [] (36)
-
_ getproperty (12) -
_ invoke (12) - args (12)
-
assert
_ respond _ to (1) - bind (12)
-
bind
_ call (12) - call (24)
-
class
_ exec (12) -
count
_ nodes (12) -
def
_ class (12) - default (12)
-
define
_ singleton _ method (24) - dig (10)
- dump (24)
- each (24)
- encode (36)
-
enum
_ for (24) - eval (24)
- generate (12)
- handler= (12)
-
instance
_ eval (24) -
json
_ create (12) - match (12)
-
method
_ missing (36) -
method
_ unbind (12) - methods (12)
-
module
_ exec (12) -
must
_ respond _ to (1) - new (19)
-
ole
_ show _ help (12) - parameters (43)
- pp (12)
- ppx (12)
- print (24)
- printn (12)
-
private
_ methods (12) -
protected
_ methods (12) -
public
_ method (12) -
public
_ methods (12) - puts (12)
-
rb
_ define _ singleton _ method (12) -
rb
_ mod _ private _ method (12) -
rb
_ mod _ public _ method (12) -
rb
_ obj _ method (12) -
rb
_ obj _ methods (12) -
rb
_ obj _ private _ methods (12) -
rb
_ obj _ protected _ methods (12) -
rb
_ obj _ singleton _ methods (12) - receiver (12)
-
remove
_ methods _ etc (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
ruby 1
. 6 feature (12) - send (24)
-
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) -
to
_ enum (24) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
umethod
_ unbind (12) - 制御構造 (12)
検索結果
先頭5件
-
Object
# method(name) -> Method (21248.0) -
オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返します。
...した
Method オブジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
me = -365.method(:abs)
p me #=> #<Method: Integer#......abs>
p me.call #=> 365
//}
@see Module#instance_method, Method, BasicObject#__send__, Object#send, Kernel.#eval, Object#singleton_method... -
VALUE rb
_ obj _ singleton _ methods(int argc , VALUE *argv , VALUE obj) (12200.0) -
Object#singleton_methods の実体。 オブジェクト obj に定義されている特異メソッド名のリストを 文字列の配列で返す。
...Object#singleton_methods の実体。
オブジェクト obj に定義されている特異メソッド名のリストを
文字列の配列で返す。... -
static VALUE rb
_ obj _ method(VALUE obj , VALUE vid) (12200.0) -
-
static VALUE rb
_ obj _ methods(VALUE obj) (12200.0) -
Object#methods の実体です。
...Object#methods の実体です。... -
static VALUE rb
_ obj _ private _ methods(VALUE obj) (12200.0) -
Object#private_methods の実体です。
...Object#private_methods の実体です。... -
static VALUE rb
_ obj _ protected _ methods(VALUE obj) (12200.0) -
Object#protected_methods の実体です。
...Object#protected_methods の実体です。... -
JSON
:: Generator :: GeneratorMethods :: Object # to _ json(state _ or _ hash = nil) -> String (12106.0) -
自身を to_s で文字列にした結果を JSON 形式の文字列に変換して返します。
...にした結果を JSON 形式の文字列に変換して返します。
このメソッドはあるオブジェクトに to_json メソッドが定義されていない場合に使用する
フォールバックのためのメソッドです。
@param state_or_hash 生成する JSON 形式の文......列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new の引数と同じ Hash を
指定します。
//emlist[例][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::Object
//}... -
JSON
:: Generator :: GeneratorMethods :: Array # to _ json(state _ or _ hash = nil) -> String (12100.0) -
自身から生成した JSON 形式の文字列を返します。
...自身から生成した JSON 形式の文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に 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 (12100.0) -
自身から生成した JSON 形式の文字列を返します。
...ら生成した JSON 形式の文字列を返します。
"false" という文字列を返します。
@param state_or_hash 生成する JSON 形式の文字列をカスタマイズするため
に JSON::State のインスタンスか、
JSON::State.new......の引数と同じ Hash を
指定します。
//emlist[例][ruby]{
require "json"
false.to_json # => "false"
//}...