1906件ヒット
[1-100件を表示]
(0.126秒)
ライブラリ
- ビルトイン (722)
- base64 (22)
- csv (11)
- drb (22)
- erb (14)
-
irb
/ inspector (11) - matrix (77)
-
minitest
/ spec (3) - mkmf (77)
- pathname (33)
- prime (66)
- psych (23)
- rake (33)
-
rexml
/ document (33) -
rubygems
/ dependency _ installer (11) -
rubygems
/ source _ info _ cache (22) - shellwords (11)
- socket (462)
- syslog (11)
- win32ole (22)
クラス
- CSV (11)
-
DRb
:: DRbObject (22) - Data (2)
- ERB (14)
- Enumerator (44)
-
Enumerator
:: Lazy (10) -
Gem
:: DependencyInstaller (11) -
Gem
:: SourceInfoCache (22) - Hash (112)
- IO (154)
-
IRB
:: Inspector (11) - Matrix (66)
- Method (62)
- Module (17)
- Object (2)
- Pathname (33)
-
Prime
:: PseudoPrimeGenerator (66) - Proc (5)
-
REXML
:: Child (11) -
REXML
:: Element (22) -
Rake
:: TaskArguments (11) - Refinement (3)
- Socket (231)
- String (76)
- Symbol (5)
- Thread (24)
- Time (11)
- Vector (11)
-
WIN32OLE
_ EVENT (22)
モジュール
- Base64 (22)
- Enumerable (119)
- FileUtils (11)
- Kernel (134)
- Marshal (22)
- Psych (23)
-
Rake
:: TaskManager (11) - Shellwords (11)
-
Socket
:: Constants (231) - Syslog (11)
キーワード
- < (11)
- === (7)
-
AI
_ PASSIVE (22) -
EAI
_ NODATA (22) -
IPV6
_ PKTINFO (22) -
IPV6
_ RECVHOPLIMIT (22) -
IPV6
_ RECVPATHMTU (22) -
IP
_ BLOCK _ SOURCE (22) -
IP
_ HDRINCL (22) -
IP
_ PASSSEC (22) -
IP
_ PKTINFO (22) -
IP
_ PKTOPTIONS (22) -
IP
_ PORTRANGE (22) -
IP
_ RECVDSTADDR (22) -
IP
_ RECVIF (22) -
IP
_ RECVOPTS (22) -
IP
_ RECVSLLA (22) -
IP
_ RECVTOS (22) -
IP
_ RECVTTL (22) -
IP
_ UNBLOCK _ SOURCE (22) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Rubyの起動 (11)
-
SO
_ RECVUCRED (22) -
SO
_ TIMESTAMP (22) -
SO
_ TIMESTAMPNS (22) - [] (11)
-
_ _ drbref (11) - abort (22)
-
angle
_ with (11) - build (22)
- call (22)
-
check
_ signedness (22) - children (11)
- chunk (11)
- compact (3)
-
delete
_ prefix (7) -
delete
_ prefix! (7) -
delete
_ suffix (7) -
delete
_ suffix! (7) -
dir
_ config (11) - drb (11)
- dump (33)
- each (22)
-
each
_ child (22) -
each
_ element _ with _ attribute (11) -
each
_ element _ with _ text (11) -
each
_ with _ index (66) -
each
_ with _ object (22) -
end
_ with? (11) -
enhance
_ with _ matching _ rule (11) - exit (11)
- filter! (12)
-
find
_ gems _ with _ sources (11) -
import
_ methods (3) -
infect
_ with _ assertions (1) -
keep
_ if (17) -
keys
_ with _ inspector (11) - mask (11)
-
max
_ by (44) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) - new (37)
-
new
_ with _ uri (11) -
on
_ event (11) -
on
_ event _ with _ outargs (11) - owner (11)
- popen (154)
- rdoc (11)
-
rdoc
/ markdown (11) - receiver (11)
-
replace
_ with (11) -
report
_ on _ exception (16) -
report
_ on _ exception= (8) - result (7)
-
result
_ with _ hash (7) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 8 . 5 feature (11) -
ruby2
_ keywords (10) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ security (11) -
safe
_ load (12) -
search
_ with _ source (22) - select! (17)
- sh (11)
- shelljoin (11)
-
start
_ with? (16) - strftime (11)
- system (24)
-
to
_ h (17) -
transform
_ keys (17) -
transform
_ keys! (17) -
transform
_ values (16) -
transform
_ values! (16) -
urlsafe
_ decode64 (11) -
urlsafe
_ encode64 (11) -
with
_ config (22) -
with
_ defaults (11) -
with
_ index (54) -
with
_ object (44) -
with
_ werror (22) - xmlrpc (3)
- yaml (11)
- 正規表現 (11)
検索結果
先頭5件
-
Gem
:: SourceInfoCache . search _ with _ source(*args) -> Array (21413.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search_with_source と引数を合わせてください。
@see Gem::SourceInfoCache#search_with_source... -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (21401.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
...n と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all......真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。... -
Data
# with(**kwargs) -> Data (18313.0) -
self をコピーしたオブジェクトを返します。
...@param kwargs コピーされたオブジェクトに設定されるメンバの値を指定します。
@raise ArgumentError 存在しないメンバを指定した場合に発生します。
//emlist[例][ruby]{
Dog = Data.define(:name, :age)
dog1 = Dog.new("Fred", 5) # => #<data Dog name="Fred......", age=5>
dog2 = dog1.with(age: 6) # => #<data Dog name="Fred", age=6>
p dog1 # => #<data Dog name="Fred", age=5>
dog3 = dog1.with(type: "Terrier") # => ArgumentError (unknown keyword: :type)
# メンバのオブジェクトはコピーされず、同じオブジェクトを......参照する。
dog1.name.upcase!
p dog1 # => #<data Dog name="FRED", age=5>
p dog2 # => #<data Dog name="FRED", age=6>
//}
[注意] 本メソッドの記述は Data のサブクラスのインスタンスに対して呼び
出す事を想定しています。Data.define は Data のサブクラス... -
DRb
:: DRbObject . new _ with _ uri(uri) -> DRb :: DRbObject (15401.0) -
URI から新しい DRbObject を生成します。
...URI から新しい DRbObject を生成します。
別プロセスの DRb.#start_service で指定したフロントオブジェクトを
指すリモートオブジェクトを取り出します。
@param uri URI リモートオブジェクトを指定するための URI (文字列)... -
REXML
:: Child # replace _ with(child) -> self (15301.0) -
親ノードの子ノード列上において、 self を child に置き換えます。
...親ノードの子ノード列上において、 self を child に置き換えます。
@param child 置き換え後のノード
@see REXML::Parent#replace_child... -
WIN32OLE
_ EVENT # on _ event _ with _ outargs(event = nil) {|*args| . . . } -> () (12401.0) -
イベント通知を受けて結果を呼び出し元へ返すブロックを登録します。
...戻り値を
設定できます。
@param event イベント名を文字列かシンボルで指定します。イベント名は大文
字小文字を区別します。省略時にはすべてのイベントが対象となります。
@param args サーバがイベント通知時に......@raise WIN32OLERuntimeError WIN32OLE_EVENT#unadviseによってイベン
トソースと切断済みです。
ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event('BeforeNavigate2') do |*args|
args[6]......= true unless args[4] # Cancel = true unless PostData
end
当メソッドはイベント名の大文字小文字を区別するほか、イベント名の存在確
認を行いません。このため、誤ったイベント名を記述してもエラーとはならず、
単にイベントを... -
Symbol
# start _ with?(*prefixes) -> bool (12343.0) -
self の先頭が prefixes のいずれかであるとき true を返します。
...先頭が prefixes のいずれかであるとき true を返します。
(self.to_s.start_with?と同じです。)
@param prefixes パターンを表す文字列または正規表現 (のリスト)
@see Symbol#end_with?
@see String#start_with?
//emlist[][ruby]{
:hello.start_with?("hell")......#=> true
:hello.start_with?(/H/i) #=> true
# returns true if one of the prefixes matches.
:hello.start_with?("heaven", "hell") #=> true
:hello.start_with?("heaven", "paradise") #=> false
//}... -
String
# start _ with?(*prefixes) -> bool (12337.0) -
self の先頭が prefixes のいずれかであるとき true を返します。
...prefixes のいずれかであるとき true を返します。
@param prefixes パターンを表す文字列または正規表現 (のリスト)
//emlist[例][ruby]{
"string".start_with?("str") # => true
"string".start_with?("ing") # => false
"string".start_with?("ing", "str")......# => true
"string".start_with?(/\w/) # => true
"string".start_with?(/\d/) # => false
//}
@see String#end_with?
@see String#delete_prefix, String#delete_prefix!... -
REXML
:: Element # each _ element _ with _ attribute(key , value = nil , max = 0 , name = nil) {|element| . . . } -> () (12325.0) -
特定の属性を持つすべての子要素を引数としてブロックを呼び出します。
...。
@param key 属性名(文字列)
@param value 属性値(文字列)
@param max ブロック呼出の対象とする子要素の最大個数
@param name xpath文字列
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a><b id='1'/><c id='2'/><d id='1'/><e/></a>")
doc.root.eac......_element_with_attribute('id'){|e| p e }
# >> <b id='1'/>
# >> <c id='2'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id', '1'){|e| p e }
# >> <b id='1'/>
# >> <d id='1'/>
doc.root.each_element_with_attribute('id', '1', 1){|e| p e }
# >> <b id='1'/>
doc.root.each_element_with_attribute('i... -
String
# start _ with?(*strs) -> bool (12325.0) -
self の先頭が strs のいずれかであるとき true を返します。
...strs のいずれかであるとき true を返します。
@param strs パターンを表す文字列 (のリスト)
//emlist[例][ruby]{
"string".start_with?("str") # => true
"string".start_with?("ing") # => false
"string".start_with?("ing", "str") # => true
//}
@see Stri......ng#end_with?... -
Prime
:: PseudoPrimeGenerator # each _ with _ index -> Enumerator (12316.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
...します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [......2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_index... -
Prime
:: PseudoPrimeGenerator # each _ with _ index {|prime , index| . . . } -> self (12316.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
...します。
@return ブロックを与えられた場合は self を返します。 ブロックを与えられなかった場合は Enumerator を返します。
//emlist[例][ruby]{
require 'prime'
Prime::EratosthenesGenerator.new(10).each_with_index do |prime, index|
p [prime, index]
end
# [......2, 0]
# [3, 1]
# [5, 2]
# [7, 3]
//}
@see Enumerator#with_index...