407件ヒット
[1-100件を表示]
(0.178秒)
ライブラリ
- erb (11)
-
fiddle
/ import (66) - forwardable (66)
-
irb
/ cmd / load (22) -
irb
/ ext / use-loader (11) -
irb
/ extend-command (44) - json (11)
- monitor (11)
-
mutex
_ m (11) - open-uri (49)
- optparse (11)
- profiler (6)
- socket (33)
クラス
-
IRB
:: ExtendCommand :: Require (11) - Socket (11)
- UDPSocket (11)
- UNIXServer (11)
モジュール
-
ERB
:: DefMethod (11) -
Fiddle
:: Importer (66) - Forwardable (44)
-
IRB
:: ContextExtender (22) -
IRB
:: ExtendCommandBundle (33) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - Kernel (16)
- MonitorMixin (11)
- OpenURI (22)
-
OpenURI
:: OpenRead (11)
キーワード
- Arguable (11)
- Forwardable (11)
-
Mutex
_ m (11) -
Profiler
_ _ (6) - SingleForwardable (11)
-
accept
_ nonblock (11) - bind (11)
-
connect
_ nonblock (11) -
create
_ value (11) -
def
_ delegator (11) -
def
_ erb _ method (11) -
def
_ extend _ command (22) -
def
_ instance _ delegator (11) - delegate (11)
- execute (11)
- fiddle (11)
-
fiddle
/ import (11) -
fiddle
/ types (11) -
install
_ extend _ commands (22) -
instance
_ delegate (11) -
irb
/ completion (11) -
irb
_ require (11) -
json
_ create (11) -
mon
_ enter (11) - open (16)
-
open
_ uri (22) - read (11)
-
recvfrom
_ nonblock (11) -
ruby 1
. 6 feature (11) - sizeof (11)
- struct (11)
- union (11)
- value (11)
検索結果
先頭5件
-
ERB
:: DefMethod . # def _ erb _ method(methodname , erb) -> nil (29112.0) -
self に erb のスクリプトをメソッドとして定義します。
...self に erb のスクリプトをメソッドとして定義します。
メソッド名は methodname で指定します。
erb が文字列の時、そのファイルを読み込み ERB で変換したのち、メソッドとして定義します。
@param methodname メソッド名
@param er......b ERBインスタンスもしくはERBソースファイル名
例:
require 'erb'
class Writer
extend ERB::DefMethod
def_erb_method('to_html', 'writer.erb')
...
end
...
puts writer.to_html... -
IRB
:: ExtendCommand :: Require (27016.0) -
irb 中の irb_require コマンドのための拡張を定義したクラスです。
...irb 中の irb_require コマンドのための拡張を定義したクラスです。... -
IRB
:: ContextExtender . install _ extend _ commands -> object (21219.0) -
定義済みの拡張を読み込みます。
...Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_co... -
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (21207.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま......す。
@param load_file cmd_name で指定したメソッドが定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を Symbol で指定します。複数指定する事ができます。... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (18225.0) -
定義済みの拡張を読み込みます。
...1 つだけ抜粋)
* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help
irb/extend-command が require された時にライブラリ内......部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_commands... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (18207.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...irb に cmd_name で指定したメソッドが実行できるように拡張します。
@param cmd_name メソッド名を Symbol か文字列で指定します。
cmd_class で指定するクラスの execute メソッドとして定
義してある必要があ......スは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファイル名を指
定します。このファイルは自動的に require されます。
@param aliases cmd_name の別名を......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。... -
IRB
:: ExtendCommandBundle # irb _ require(*opts , &b) -> bool (15223.0) -
現在の irb に関する IRB::Context に対して irb_require コマンドを 実行します。
...現在の irb に関する IRB::Context に対して irb_require コマンドを
実行します。
@see IRB::ExtendCommand::Require#execute... -
IRB
:: ExtendCommand :: Require # execute(file _ name) -> bool (15118.0) -
ファイル file_name を現在の irb インタプリタ上で実行します。
...ル file_name を現在の irb インタプリタ上で実行します。
file_name に Ruby スクリプトを指定した場合は、Kernel.#require と異
なり、file_name の内容を irb で一行ずつタイプしたかのように、irb 上で一
行ずつ評価されます。require に......成功した場合は true を、そうでない場合は
false を返します。
拡張ライブラリ(*.so,*.o,*.dll など)を指定した場合は単純に require され
ます。
@param file_name ファイル名を文字列で指定します。... -
JSON
:: Generator :: GeneratorMethods :: String :: Extend . json _ create(hash) -> String (15106.0) -
JSON のオブジェクトから Ruby の文字列を生成して返します。
...のオブジェクトから Ruby の文字列を生成して返します。
@param hash キーとして "raw" という文字列を持ち、その値として数値の配列を持つハッシュを指定します。
require 'json'
String.json_create({"raw" => [0x41, 0x42, 0x43]}) # => "ABC"... -
OpenURI
:: OpenRead # read(options = {}) -> String (9122.0) -
自身が表す内容を読み込んで文字列として返します。 self.open(options={}) {|io| io.read } と同じです。 このメソッドによって返される文字列は OpenURI::Meta によって extend されています。
...self.open(options={}) {|io| io.read } と同じです。
このメソッドによって返される文字列は OpenURI::Meta
によって extend されています。
@param options ハッシュを与えます。
require 'open-uri'
uri = URI.parse('http://www.example.com/')
str = uri.read......p str.is_a?(OpenURI::Meta) # => true
p str.content_type...