544件ヒット
[1-100件を表示]
(0.065秒)
ライブラリ
- ビルトイン (167)
- json (36)
- openssl (96)
-
rdoc
/ stats (12) - win32ole (84)
クラス
- Array (9)
- Enumerator (14)
- Method (36)
- Object (24)
-
OpenSSL
:: Engine (96) - Proc (12)
-
RDoc
:: Stats (12) -
RubyVM
:: InstructionSequence (12) - UnboundMethod (48)
-
WIN32OLE
_ METHOD (84)
モジュール
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
METHOD
_ ALL (12) -
METHOD
_ CIPHERS (12) -
METHOD
_ DH (12) -
METHOD
_ DIGESTS (12) -
METHOD
_ DSA (12) -
METHOD
_ NONE (12) -
METHOD
_ RAND (12) -
METHOD
_ RSA (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Numeric (12)
- Ruby用語集 (12)
- arity (24)
- dig (9)
- dispid (12)
-
first
_ lineno (12) - hash (24)
- helpcontext (12)
- invkind (12)
- new (14)
-
num
_ methods (12) -
offset
_ vtbl (12) - owner (12)
-
public
_ method (12) -
rb
_ to _ integer (12) -
return
_ vtype (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
size
_ opt _ params (12) -
size
_ params (12) -
source
_ location (36) -
to
_ json (12) - 制御構造 (12)
検索結果
先頭5件
-
JSON
:: Ext :: Generator :: GeneratorMethods :: Integer (21016.0) -
Alias of JSON::Generator::GeneratorMethods::Integer
...Alias of JSON::Generator::GeneratorMethods::Integer... -
JSON
:: Generator :: GeneratorMethods :: Integer (21016.0) -
Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。
...Integer に JSON で使用するインスタンスメソッドを追加するためのモジュールです。... -
Object
# method(name) -> Method (18254.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... -
Method
# arity -> Integer (9161.0) -
メソッドが受け付ける引数の数を返します。
...c = C.new
p c.method(:u).arity #=> 0
p c.method(:v).arity #=> 1
p c.method(:w).arity #=> -1
p c.method(:x).arity #=> 2
p c.method(:y).arity #=> -3
p c.method(:z).arity #=> -3
s = "xyz"
s.method(:size).arity #=> 0
s.method(:replace).arity #=> 1
s.method(:squeeze).arit... -
Method
# source _ location -> [String , Integer] | nil (9119.0) -
ソースコードのファイル名と行番号を配列で返します。
...@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source_location # => ["/tmp/foo.rb", 2]
method(:puts).source_location # => nil
//}... -
Method
# hash -> Integer (9113.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
//emlist[例][ruby]{
a = method(:==)
b = method(:eql?)
p a.eql? b # => true
p a.hash == b.hash # => true
p [a, b].uniq.size # => 1
//}... -
Object
# public _ method(name) -> Method (6266.0) -
オブジェクトの public メソッド name をオブジェクト化した Method オブジェクトを返します。
...オブジェクトの public メソッド name をオブジェクト化した
Method オブジェクトを返します。
@param name メソッド名を Symbol または String で指定します。
@raise NameError 定義されていないメソッド名や、
protected メソッド名、......vate メソッド名を引数として与えると発生します。
//emlist[][ruby]{
1.public_method(:to_int) #=> #<Method: Integer#to_int>
1.public_method(:p) # method `p' for class `Integer' is private (NameError)
//}
@see Object#method,Object#public_send,Module#public_instance_method... -
OpenSSL
:: Engine :: METHOD _ ALL -> Integer (6202.0) -
engine が持っている機能をすべて openssl のデフォルトにすること を意味します。
engine が持っている機能をすべて openssl のデフォルトにすること
を意味します。
OpenSSL::Engine#set_default のフラグとして使います。 -
OpenSSL
:: Engine :: METHOD _ CIPHERS -> Integer (6202.0) -
デフォルトの暗号化のための engine に設定することを意味します。
デフォルトの暗号化のための engine に設定することを意味します。
OpenSSL::Engine#set_default のフラグとして使います。