1123件ヒット
[1-100件を表示]
(0.045秒)
ライブラリ
- ビルトイン (180)
-
cgi
/ core (12) -
cgi
/ html (24) - e2mmap (6)
-
fiddle
/ import (12) -
irb
/ cmd / chws (48) -
irb
/ cmd / help (24) -
irb
/ cmd / load (72) -
irb
/ cmd / nop (60) -
irb
/ cmd / pushws (72) -
irb
/ cmd / subirb (96) -
irb
/ ext / save-history (12) -
irb
/ ext / use-loader (24) -
irb
/ extend-command (168) - json (48)
-
mutex
_ m (24) -
net
/ http (8) - nkf (12)
- openssl (36)
- rake (24)
- sync (6)
- thwait (6)
クラス
-
ARGF
. class (12) - Enumerator (24)
- IO (96)
-
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Jobs (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (48) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) - Module (36)
- Object (12)
-
OpenSSL
:: SSL :: SSLContext (24) -
Rake
:: FileList (12) - Regexp (12)
- ThreadsWait (6)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (12) - Exception2MessageMapper (6)
-
Fiddle
:: Importer (12) -
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (144) -
IRB
:: HistorySavingAbility (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
Mutex
_ m (24) -
Sync
_ m (6)
キーワード
- ChangeWorkspace (12)
- ContextExtender (12)
- CurrentWorkingWorkspace (12)
- EXTENDED (12)
- Extend (24)
- ExtendCommandBundle (12)
- Foreground (12)
- HTTPNotExtended (8)
- Help (12)
- IrbCommand (12)
- Jobs (12)
- Kill (12)
- Load (12)
-
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) - NKF (12)
-
NO
_ OVERRIDE (12) - Nop (12)
- OCSP (12)
-
OVERRIDE
_ ALL (12) -
OVERRIDE
_ PRIVATE _ ONLY (12) - PopWorkspace (12)
- PushWorkspace (12)
- Require (12)
- Source (12)
- Workspaces (12)
-
ca
_ file= (12) -
def
_ extend _ command (24) -
drb
/ extservm (12) - execute (180)
- extend (12)
-
extend
_ object (42) - extended (24)
- extern (12)
- html (24)
-
inplace
_ mode= (12) -
install
_ alias _ method (12) -
install
_ extend _ commands (24) -
irb
/ extend-command (12) -
irb
_ context (24) -
irb
_ exit (12) -
irb
_ load (12) -
irb
_ original _ method _ name (12) -
irb
_ require (12) -
json
_ create (12) -
mu
_ extended (12) - multipart? (12)
- new (12)
- next (12)
-
next
_ values (12) -
next
_ wait (6) - pipe (96)
-
rake
_ extension (12) -
rb
_ extend _ object (12) -
rb
_ mod _ extend _ object (12) -
rb
_ obj _ extend (12) -
renegotiation
_ cb= (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
stack
_ extend (12) -
sync
_ extend (6) -
to
_ json (12)
検索結果
先頭5件
- IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object - IRB
:: ContextExtender . install _ extend _ commands -> object - IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle - Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList - IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object
-
IRB
:: ContextExtender . def _ extend _ command(cmd _ name , load _ file , *aliases) -> object (21200.0) -
IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。
...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。
@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま... -
IRB
:: ContextExtender . install _ extend _ commands -> object (21200.0) -
定義済みの拡張を読み込みます。
...Context で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_co... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (18400.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
...IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト... -
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (18235.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...各要素に String#ext を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb"......, "test3.rb")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}
@see String#ext... -
IRB
:: ExtendCommandBundle . def _ extend _ command(cmd _ name , cmd _ class , load _ file = nil , *aliases) -> object (18200.0) -
irb に cmd_name で指定したメソッドが実行できるように拡張します。
...クラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand 以下で定義
する必要があります。
@param load_file 指定したメソッドが定義されたファイル名......す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (18200.0) -
定義済みの拡張を読み込みます。
...* 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
:: ContextExtender (18000.0) -
IRB::Context を拡張するためのモジュールです。
...IRB::Context を拡張するためのモジュールです。... -
JSON
:: Ext :: Generator :: GeneratorMethods :: String :: Extend (15000.0) -
Alias of JSON::Generator::GeneratorMethods::String::Extend
...Alias of JSON::Generator::GeneratorMethods::String::Extend... -
Object
# extend(*modules) -> self (12236.0) -
引数で指定したモジュールのインスタンスメソッドを self の特異 メソッドとして追加します。
...ス)に機能を追加します
が、extend は、ある特定のオブジェクトだけにモジュールの機能を追加
したいときに使用します。
引数に複数のモジュールを指定した場合、最後
の引数から逆順に extend を行います。
@param modules モ......ule Foo
def a
'ok Foo'
end
end
module Bar
def b
'ok Bar'
end
end
obj = Object.new
obj.extend Foo, Bar
p obj.a #=> "ok Foo"
p obj.b #=> "ok Bar"
class Klass
include Foo
extend Bar
end
p Klass.new.a #=> "ok Foo"
p Klass.b #=> "ok Bar"
//}
extend の機能は、「特異ク......ただしその場合、フック用のメソッド
が Module#extended ではなく Module#included になるという違いがあります。
//emlist[][ruby]{
# obj.extend Foo, Bar とほぼ同じ
class << obj
include Foo, Bar
end
//}
@see Module#extend_object,Module#include,Module#extended...