8件ヒット
[1-8件を表示]
(0.049秒)
種類
- インスタンスメソッド (3)
- モジュール (2)
- 特異メソッド (2)
- 文書 (1)
ライブラリ
- forwardable (2)
-
irb
/ cmd / help (1) -
irb
/ extend-command (1) - json (3)
クラス
モジュール
キーワード
- delegate (1)
- execute (1)
-
instance
_ delegate (1) -
irb
_ original _ method _ name (1) -
json
_ create (1) -
ruby 1
. 6 feature (1)
検索結果
先頭5件
- JSON
:: Ext :: Generator :: GeneratorMethods :: String :: Extend - JSON
:: Generator :: GeneratorMethods :: String :: Extend - IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String - JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String - IRB
:: ExtendCommand :: Help # execute(*names) -> nil
-
JSON
:: Ext :: Generator :: GeneratorMethods :: String :: Extend (72097.0) -
Alias of JSON::Generator::GeneratorMethods::String::Extend
Alias of JSON::Generator::GeneratorMethods::String::Extend -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (72049.0) -
String に JSON で使用する特異メソッドを追加するためのモジュールです。
String に JSON で使用する特異メソッドを追加するためのモジュールです。 -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (27904.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (27622.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
JSON のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC" -
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (18055.0) -
RI から Ruby のドキュメントを参照します。
RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソッド
名などを入力する事でドキュメントの検索が行えます。入力のタブ補完をする
事ができます。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look... -
ruby 1
. 6 feature (1171.0) -
ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。
ruby 1.6 feature
ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン
になります。
((<stable-snapshot|URL:ftp://ftp.netlab.co.jp/pub/lang/ruby/stable-snapshot.tar.gz>)) は、日々更新される安定版の最新ソースです。
== 1.6.8 (2002-12-24) -> stable-snapshot
: 2003-01-22: errno
EAGAIN と EWOULDBLOCK が同じ値のシステムで、EWOULDBLOCK がなくなっ
ていま... -
Forwardable
# delegate(hash) -> () (337.0) -
メソッドの委譲先を設定します。
メソッドの委譲先を設定します。
@param hash 委譲先のメソッドがキー、委譲先のオブジェクトが値の
Hash を指定します。キーは Symbol、
String かその配列で指定します。
例:
require 'forwardable'
class Zap
extend Forwardable
delegate :length => :@str
delegate [:first, :last] => :@arr
def initialize
@arr = %w/fo... -
Forwardable
# instance _ delegate(hash) -> () (337.0) -
メソッドの委譲先を設定します。
メソッドの委譲先を設定します。
@param hash 委譲先のメソッドがキー、委譲先のオブジェクトが値の
Hash を指定します。キーは Symbol、
String かその配列で指定します。
例:
require 'forwardable'
class Zap
extend Forwardable
delegate :length => :@str
delegate [:first, :last] => :@arr
def initialize
@arr = %w/fo...