231件ヒット
[1-100件を表示]
(0.060秒)
別のキーワード
種類
- インスタンスメソッド (132)
- ライブラリ (33)
- モジュール関数 (33)
- 特異メソッド (22)
- 文書 (11)
ライブラリ
- ビルトイン (55)
- json (22)
- rake (11)
- resolv (11)
-
rubygems
/ source _ index (44) -
rubygems
/ source _ info _ cache (11) - socket (11)
- win32ole (22)
クラス
-
Gem
:: SourceIndex (44) -
Gem
:: SourceInfoCache (11) - Method (11)
- Proc (11)
- Regexp (11)
-
Resolv
:: DNS (11) -
Socket
:: UDPSource (11) - UnboundMethod (11)
-
WIN32OLE
_ TYPE (22)
キーワード
-
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
default
_ event _ sources (11) - each (22)
-
each
_ resource (11) - getrlimit (11)
- irb (11)
- load (11)
-
load
_ specification (11) - new (11)
- rdoc (11)
- restore (11)
- rss (11)
- rule (11)
-
source
_ location (33) -
source
_ ole _ types (11) - specification (11)
-
try
_ file (11)
検索結果
先頭5件
-
Regexp
# source -> String (18231.0) -
その正規表現のもととなった文字列表現を生成して返します。
...その正規表現のもととなった文字列表現を生成して返します。
//emlist[例][ruby]{
re = /foo|bar|baz/i
p re.source # => "foo|bar|baz"
//}... -
WIN32OLE
_ TYPE # default _ event _ sources -> [WIN32OLE _ TYPE] (6530.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
default_event_sourcesメソッドは、selfがCoClass(コンポーネントクラス)
の場合、そのクラスがサポートするデフォルトのソースインターフェイス(イ
ベントの通知元となるイン......場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.default_event_sources.map {|intf| intf.name} #=> ["DocEvents"]
WIN32OLE_EVENT.newでインターフェイス名を指定しない場合は、ここで
返されたインタ......{m.name}") do |*arg|
if arg[0] == "ページが表示されました"
@completed = true
end
puts "#{Time.now}: #{m.name} was called"
p arg
end
end
end
evt = WIN32OLE_EVENT.new(ctl)
evt.handler = WebEvent.new
ctl.navigate2 'http://www.ruby-lang.org/'... -
Resolv
:: DNS # each _ resource(name , typeclass) {|resource| . . . } -> () (6401.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソースをひとつずつブロックに渡します。
...S::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN:......esolv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
Proc
# source _ location -> [String , Integer] | nil (6332.0) -
ソースコードのファイル名と行番号を配列で返します。
...by]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}
@see Method#source_location... -
UnboundMethod
# source _ location -> [String , Integer] | nil (6326.0) -
ソースコードのファイル名と行番号を配列で返します。
...nil を返します。
//emlist[例][ruby]{
require 'time'
Time.instance_method(:zone).source_location # => nil
Time.instance_method(:httpdate).source_location # => ["/Users/user/.rbenv/versions/2.4.3/lib/ruby/2.4.0/time.rb", 654]
//}
@see Proc#source_location, Method#source_location... -
Method
# source _ location -> [String , Integer] | nil (6320.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... -
WIN32OLE
_ TYPE # source _ ole _ types -> [WIN32OLE _ TYPE] (6219.0) -
型が持つソースインターフェイスを取得します。
...型が持つソースインターフェイスを取得します。
source_ole_typesメソッドは、selfがCoClass(コンポーネントクラス)の場合、
そのクラスがサポートするすべてのソースインターフェイス(イベントの通知
元となるインターフ......ェイスをWIN32OLE_TYPEの配列として返します。
ソースインターフェイスを持たない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
tobj.source_ole_types.map {|intf| intf.name} #=> ["DocEvents"]... -
Socket
:: UDPSource . new(remote _ addr , local _ addr) {|msg| . . . } -> Socket :: UDPSource (3301.0) -
Socket::UDPSource オブジェクトを生成します。
...Socket::UDPSource オブジェクトを生成します。
このメソッドはユーザは直接使いません。Socket.udp_server_loop が
内部で用います。
@param remote_addr リモートのアドレス(Addrinfo オブジェクト)
@param local_addr ローカルのアドレス(Addrinfo... -
Gem
:: SourceIndex # each {|full _ name , gem| . . . } -> Hash (3201.0) -
自身に登録されているそれぞれの Gem についてブロックを評価します。
自身に登録されているそれぞれの Gem についてブロックを評価します。 -
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (3201.0) -
指定された名前の Gem::Specification オブジェクトを返します。
指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。