971件ヒット
[901-971件を表示]
(0.079秒)
別のキーワード
ライブラリ
- ビルトイン (544)
- drb (12)
- erb (16)
- matrix (60)
-
minitest
/ spec (3) - mkmf (108)
- pathname (36)
- prime (72)
- rake (36)
-
rexml
/ document (36) -
rubygems
/ dependency _ installer (12) -
rubygems
/ source _ info _ cache (12) - win32ole (24)
クラス
-
DRb
:: DRbObject (12) - Data (3)
- ERB (16)
- Enumerator (48)
-
Enumerator
:: Lazy (12) -
Gem
:: DependencyInstaller (12) -
Gem
:: SourceInfoCache (12) - Hash (138)
- Matrix (48)
- Method (80)
- Module (25)
- Object (2)
- Pathname (36)
-
Prime
:: PseudoPrimeGenerator (72) - Proc (6)
-
REXML
:: Child (12) -
REXML
:: Element (24) -
Rake
:: TaskArguments (12) - Refinement (4)
- String (56)
- Symbol (12)
- Thread (18)
- Time (12)
- Vector (12)
-
WIN32OLE
_ EVENT (24)
モジュール
- Enumerable (131)
- FileUtils (12)
- Kernel (108)
-
Rake
:: TaskManager (12)
キーワード
- < (12)
- === (8)
- [] (12)
-
_ _ drbref (12) -
angle
_ with (12) - call (24)
-
check
_ signedness (24) - children (12)
- chunk (12)
- compact (4)
-
convertible
_ int (24) -
delete
_ prefix (8) -
delete
_ prefix! (8) -
delete
_ suffix (8) -
delete
_ suffix! (8) -
dir
_ config (12) - each (24)
-
each
_ child (24) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) -
each
_ with _ index (72) -
each
_ with _ object (24) -
end
_ with? (18) -
enhance
_ with _ matching _ rule (12) - filter! (14)
-
find
_ gems _ with _ sources (12) -
import
_ methods (4) -
infect
_ with _ assertions (1) -
keep
_ if (24) -
max
_ by (48) -
must
_ be _ within _ delta (1) -
must
_ be _ within _ epsilon (1) - name (12)
-
on
_ event (12) -
on
_ event _ with _ outargs (12) - owner (12)
- receiver (12)
-
replace
_ with (12) -
report
_ on _ exception (9) -
report
_ on _ exception= (9) - result (8)
-
result
_ with _ hash (8) -
ruby2
_ keywords (18) -
search
_ with _ source (12) - select! (24)
- sh (12)
-
start
_ with? (18) - strftime (12)
-
to
_ h (19) -
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) -
with
_ config (24) -
with
_ defaults (12) -
with
_ index (60) -
with
_ object (48) -
with
_ werror (24)
検索結果
先頭5件
-
Module
# <(other) -> bool | nil (7.0) -
比較演算子。self が other の子孫である場合、 true を返します。 self が other の先祖か同一のクラス/モジュールである場合、false を返します。
...t[例][ruby]{
module Foo
end
class Bar
include Foo
end
class Baz < Bar
end
class Qux
end
p Bar < Foo # => true
p Baz < Bar # => true
p Baz < Foo # => true
p Baz < Qux # => nil
p Baz > Qux # => nil
p Foo < Object.new # => in `<': compared with non class/module (TypeError)
//}... -
Refinement
# import _ methods(*modules) -> self (7.0) -
モジュールからメソッドをインポートします。
...level)
' ' * level + self
end
end
module M
refine String do
import_methods StrUtils
end
end
using M
p "foo".indent(3) # => " foo"
module M
refine String do
import_methods Enumerable
# Can't import method which is not defined with Ruby code: Enumerable#drop
end
end
//}... -
String
# delete _ prefix!(prefix) -> self | nil (7.0) -
self の先頭から破壊的に prefix を削除します。
...ら削除する文字列を指定します。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_prefix!("hel") # => "lo"
"hello".delete_prefix!("llo") # => nil
//}
@see String#delete_prefix
@see String#delete_suffix!
@see String#start_with?... -
String
# delete _ prefix(prefix) -> String (7.0) -
文字列の先頭から prefix を削除した文字列のコピーを返します。
...する文字列を指定します。
@return 文字列の先頭から prefix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_prefix("hel") # => "lo"
"hello".delete_prefix("llo") # => "hello"
//}
@see String#delete_prefix!
@see String#delete_suffix
@see String#start_with?... -
String
# delete _ suffix!(suffix) -> self | nil (7.0) -
self の末尾から破壊的に suffix を削除します。
...ます。
@return 削除した場合は self、変化しなかった場合は nil
//emlist[][ruby]{
"hello".delete_suffix!("llo") # => "he"
"hello".delete_suffix!("hel") # => nil
//}
@see String#chomp!
@see String#chop!
@see String#delete_prefix!
@see String#delete_suffix
@see String#end_with?... -
String
# delete _ suffix(suffix) -> String (7.0) -
文字列の末尾から suffix を削除した文字列のコピーを返します。
...。
@return 文字列の末尾から suffix を削除した文字列のコピー
//emlist[][ruby]{
"hello".delete_suffix("llo") # => "he"
"hello".delete_suffix("hel") # => "hello"
//}
@see String#chomp
@see String#chop
@see String#delete_prefix
@see String#delete_suffix!
@see String#end_with?... -
Thread
# report _ on _ exception -> bool (7.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
#... -
Thread
# report _ on _ exception=(newstate) (7.0) -
真の場合、そのスレッドが例外によって終了した時に、その内容を $stderr に報告します。
...{ Thread.stop; raise }
a.report_on_exception = true
a.report_on_exception # => true
a.run
# => #<Thread:0x00007fc3f48c7908@(irb):1 run> terminated with exception (report_on_exception is true):
# Traceback (most recent call last):
# (irb):1:in `block in irb_binding': unhandled exception
#... -
WIN32OLE
_ EVENT # on _ event(event = nil) {|*args| . . . } -> () (7.0) -
イベント通知を受けるブロックを登録します。
...トのメソッ
ド名が文字列で与えられます。引数の変更が必要な場合は、
WIN32OLE_EVENT#on_event_with_outargsを利用してください。
@raise WIN32OLERuntimeError WIN32OLE_EVENT#unadviseによってイベン
トソー...