4982件ヒット
[1-100件を表示]
(0.170秒)
種類
ライブラリ
- English (66)
- ビルトイン (2149)
- benchmark (33)
-
cgi
/ html (22) - csv (187)
- digest (22)
- erb (11)
- forwardable (33)
-
irb
/ cmd / chws (22) -
irb
/ cmd / help (22) -
irb
/ cmd / pushws (22) -
irb
/ ext / save-history (11) -
irb
/ extend-command (22) -
irb
/ input-method (55) - json (77)
- matrix (22)
- mkmf (22)
-
net
/ ftp (18) -
net
/ http (242) -
net
/ imap (22) -
net
/ pop (11) - nkf (11)
- optparse (198)
- pathname (44)
- prettyprint (11)
- prime (66)
- psych (99)
- rake (132)
-
rake
/ packagetask (11) - rbconfig (11)
-
rdoc
/ markup (11) -
rdoc
/ parser (11) - readline (55)
-
rexml
/ document (22) -
rexml
/ parsers / sax2parser (55) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ dependency (11) -
rubygems
/ dependency _ installer (33) -
rubygems
/ dependency _ list (11) -
rubygems
/ spec _ fetcher (22) - shell (30)
-
shell
/ builtin-command (36) -
shell
/ command-processor (24) -
shell
/ filter (30) - socket (11)
- stringio (11)
- strscan (22)
- thread (16)
- thwait (30)
- time (44)
- tmpdir (22)
- tsort (43)
-
webrick
/ httpproxy (22) -
webrick
/ httpservlet / abstract (66) -
webrick
/ httputils (99) - win32ole (66)
- zlib (275)
クラス
-
ARGF
. class (88) - Array (114)
- BasicObject (66)
- CSV (176)
-
CSV
:: FieldInfo (11) - Class (11)
- Data (2)
-
Digest
:: Base (22) - Dir (154)
-
Encoding
:: UndefinedConversionError (11) - Enumerator (22)
-
Enumerator
:: ArithmeticSequence (30) - Exception (29)
- File (22)
-
File
:: Stat (11) -
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: Dependency (11) -
Gem
:: DependencyInstaller (33) -
Gem
:: DependencyList (11) -
Gem
:: SpecFetcher (22) - Hash (11)
- IO (77)
-
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: InputMethod (11) -
IRB
:: ReadlineInputMethod (22) -
IRB
:: StdioInputMethod (22) - Integer (21)
-
JSON
:: State (11) - KeyError (7)
- LoadError (11)
- MatchData (92)
- Matrix (22)
- Method (97)
- Module (271)
- Mutex (2)
-
Net
:: FTP (18) -
Net
:: HTTP (143) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (22) -
Net
:: IMAP (22) -
Net
:: POP3 (11) - Numeric (29)
- Object (110)
- OptionParser (198)
- Pathname (44)
- PrettyPrint (11)
- Prime (22)
-
Prime
:: PseudoPrimeGenerator (44) -
Psych
:: Handler (22) -
Psych
:: Nodes :: Document (22) -
RDoc
:: Markup (11) -
RDoc
:: Parser (11) -
REXML
:: Attributes (22) -
REXML
:: Parsers :: SAX2Parser (55) -
Rake
:: FileList (11) -
Rake
:: InvocationChain (55) -
Rake
:: InvocationChain :: EmptyInvocationChain (11) -
Rake
:: PackageTask (11) -
Rake
:: TaskArguments (11) - Range (11)
- Refinement (3)
- Regexp (33)
-
RubyVM
:: InstructionSequence (22) - Shell (30)
-
Shell
:: AppendFile (12) -
Shell
:: AppendIO (12) -
Shell
:: CommandProcessor (24) -
Shell
:: Filter (30) - String (121)
- StringIO (11)
- StringScanner (22)
- Symbol (10)
- Thread (209)
-
Thread
:: Backtrace :: Location (44) -
Thread
:: ConditionVariable (22) -
Thread
:: Mutex (18) -
Thread
:: Queue (11) -
Thread
:: SizedQueue (33) - ThreadsWait (30)
- Time (44)
- TracePoint (22)
- UDPSocket (11)
- UnboundMethod (33)
- UncaughtThrowError (10)
-
WEBrick
:: HTTPProxyServer (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPUtils :: FormData (99) - WIN32OLE (33)
-
WIN32OLE
_ EVENT (22) -
Zlib
:: Deflate (33) -
Zlib
:: GzipReader (143) -
Zlib
:: GzipWriter (44) -
Zlib
:: Inflate (33) -
Zlib
:: ZStream (22)
モジュール
- Benchmark (33)
-
CGI
:: HtmlExtension (22) -
ERB
:: DefMethod (11) - Enumerable (66)
- FileUtils (11)
- Forwardable (33)
-
IRB
:: ExtendCommandBundle (22) -
IRB
:: HistorySavingAbility (11) - JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (11) - Kernel (198)
- Math (11)
-
Net
:: HTTPExceptions (11) -
Net
:: HTTPHeader (33) - Process (11)
-
Process
:: GID (22) -
Process
:: UID (22) - Psych (44)
-
Rake
:: TaskManager (11) - RakeFileUtils (11)
- RbConfig (11)
- Readline (33)
- TSort (43)
オブジェクト
- ENV (22)
-
Readline
:: HISTORY (22)
キーワード
- != (11)
-
$ CHILD _ STATUS (11) -
$ INPUT _ LINE _ NUMBER (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ NR (11) -
$ ~ (11) - % (11)
-
/ (10) - < (11)
- <= (11)
- <=> (22)
- == (39)
- === (22)
- > (11)
- >= (11)
- AppendFile (6)
- AppendIO (6)
- ChangeWorkspace (11)
- ConditionVariable (11)
-
DEFAULT
_ OPTIONS (11) - Emitter (11)
- Extend (22)
- HTTPFailedDependency (11)
- HTTPProxyServer (11)
- Help (11)
- Location (11)
-
MAKEFILE
_ CONFIG (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - NKF (11)
- PushWorkspace (11)
-
RSTRING
_ END (11) -
RSTRING
_ PTR (11) - Rubyの起動 (11)
- SizedQueue (11)
- String (11)
-
WIN32OLE
_ METHOD (11) - [] (106)
-
_ _ method _ _ (11) -
absolute
_ path (22) -
add
_ response _ handler (22) -
add
_ special (11) -
alias
_ method (11) -
all
_ waits (18) - append (51)
-
append
_ data (11) - arity (22)
- ascend (11)
- at (11)
- backtrace (11)
-
backtrace
_ locations (11) -
base
_ label (11) - begin (17)
- benchmark (11)
- bind (11)
-
block
_ append (11) - bm (11)
- bmbm (11)
-
body
_ stream (11) -
body
_ stream= (11) - broadcast (11)
- byteoffset (4)
- caller (11)
-
caller
_ locations (22) - catch (22)
- cgi (11)
- chardev? (11)
- chdir (44)
-
check
_ circular? (11) -
class
_ variables (11) - coerce (11)
-
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
- curry (10)
-
deconstruct
_ keys (2) -
def
_ delegator (11) -
def
_ erb _ method (11) -
def
_ instance _ delegator (11) -
define
_ method (22) -
define
_ singleton _ method (22) - deq (11)
- descend (11)
- div (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) - each (154)
-
each
_ attribute (11) -
each
_ byte (66) -
each
_ codepoint (22) -
each
_ data (11) -
each
_ index (22) -
each
_ line (88) -
each
_ pair (22) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (21) -
each
_ with _ index (66) -
end
_ document (11) -
end
_ mapping (11) -
end
_ with? (16) -
enum
_ for (22) - eof? (22)
-
error
_ char (11) -
exclude
_ end? (6) - execute (33)
- exit (11)
- extended (11)
- fetch (55)
- filename (11)
- filename= (11)
- filter (33)
-
find
_ gems (11) -
find
_ gems _ with _ sources (11) -
find
_ matching (11) - finish (22)
- finished? (11)
- flush (33)
- foreach (11)
- fork (11)
- format (22)
- gamma (11)
-
gather
_ dependencies (11) - generate (22)
- get (22)
- get2 (22)
-
handle
_ interrupt (11) - handler= (11)
- hash (17)
- header (11)
-
header
_ convert (22) - help (11)
- hexdigest (11)
- html (22)
- httpdate (11)
-
implicit
_ end (11) -
implicit
_ end= (11) -
import
_ methods (3) - inherited (11)
- input= (12)
- inspect (22)
-
install
_ alias _ method (11) -
instance
_ delegate (11) -
instance
_ method (11) -
instance
_ methods (11) - invert (11)
- irb (11)
-
irb
_ original _ method _ name (11) -
json
_ create (11) - kill (22)
-
last
_ match (11) - lineno (11)
- lineno= (11)
- list (22)
-
list
_ append (11) - listen (55)
-
literal
_ append (11) - load (11)
-
load
_ stream (22) - logger (11)
- match (22)
- match? (11)
-
matched
_ size (11) -
max
_ by (44) - member? (11)
-
method
_ defined? (11) -
method
_ id (11) -
method
_ missing (11) -
method
_ undefined (11) - methods (11)
- mkdir (18)
- mktmpdir (22)
- mlsd (18)
- name (11)
- name= (11)
-
net
/ imap (11) - new (117)
-
next
_ wait (6) - offset (22)
-
ole
_ func _ methods (11) -
ole
_ get _ methods (11) -
on
_ event _ with _ outargs (11) -
on
_ head (11) -
on
_ tail (11) - open (88)
- opendir (22)
-
original
_ name (22) - pack (19)
- pack テンプレート文字列 (11)
-
package
_ dir _ path (11) - params (11)
- parse (55)
- parse! (11)
-
parse
_ files _ matching (11) - pass (11)
- path (55)
- pathmap (11)
-
pending
_ interrupt? (22) - pop (11)
- pos (11)
- post (22)
- post2 (22)
- prepend (11)
- priority (11)
- priority= (11)
-
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
protected
_ method _ defined? (11) -
public
_ class _ method (15) -
public
_ method _ defined? (11) - raise (11)
- rake (11)
-
rake
_ extension (11) - read (11)
-
read
_ body (11) -
readable
_ atfer _ eof? (33) - readchar (22)
- readline (11)
- receiver (18)
-
request
_ get (22) -
request
_ post (22) - response (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (5) - seek (22)
- send (11)
-
send
_ request (11) - separator (11)
-
set
_ dictionary (22) -
set
_ trace _ func (11) - setpriority (11)
- sh (11)
- shift (33)
- signal (11)
-
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) - sleep (9)
-
source
_ location (11) -
spec
_ predecessors (11) - sprintf (11)
- sprintf フォーマット (11)
-
stack
_ extend (11) - start (11)
-
start
_ with? (16) - step (18)
-
stream
_ end? (11) - strptime (22)
- summarize (22)
-
summary
_ indent (11) -
summary
_ indent= (11) -
summary
_ width (11) -
summary
_ width= (11) -
super
_ method (10) - switch (44)
- synchronize (11)
-
synthesize
_ file _ task (11) - sysseek (11)
- tell (11)
- terminate (11)
- test (18)
-
test
/ unit (1) -
thread
_ variable _ set (11) - throw (11)
-
to
_ a (11) -
to
_ ary (11) -
to
_ enum (22) -
to
_ json (11) -
to
_ path (11) -
to
_ s (65) - truncate (11)
-
tsort
_ each (11) -
unalias
_ command (6) - unbind (11)
- ungetc (11)
- unpack (11)
- unparse (11)
- unshift (7)
- value (11)
-
when
_ writing (11) -
with
_ config (22) -
with
_ defaults (11) -
with
_ index (22) -
with
_ object (22) - wrap (22)
-
write
_ headers? (11) - xmlschema (11)
- | (6)
検索結果
先頭5件
-
irb (26132.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1> end......ibrary ruby -r と同じ
-I ruby -I と同じ
-U ruby -U と同じ
-E enc ruby -E と同じ
--verbose これから実行する行を表示する
--noverbose これから実行する行を表示しない (デフォルト)
--ech... -
Rake
:: InvocationChain :: EmptyInvocationChain # append(task _ name) -> Rake :: InvocationChain (24400.0) -
与えられた値を追加した Rake::InvocationChain を返します。
...与えられた値を追加した Rake::InvocationChain を返します。
@param task_name 追加する値を指定します。... -
Enumerator
:: ArithmeticSequence # end -> Numeric | nil (24201.0) -
末項(終端)を返します。
...末項(終端)を返します。
@see Enumerator::ArithmeticSequence#begin... -
Thread
. pending _ interrupt?(error = nil) -> bool (21324.0) -
非同期割り込みのキューが空かどうかを返します。
...す。
Thread.handle_interrupt は非同期割り込みの発生を延期させるのに使
用しますが、本メソッドは任意の非同期割り込みが存在するかどうかを確認す
るのに使用します。
本メソッドが true を返した場合、Thread.handle_interrupt で......ただちに発生させる。
def Thread.kick_interrupt_immediately
Thread.handle_interrupt(Object => :immediate) {
Thread.pass
}
end
=== 使い方
th = Thread.new{
Thread.handle_interrupt(RuntimeError => :on_blocking){
while true
...
# ここまで......
if Thread.pending_interrupt?
Thread.handle_interrupt(Object => :immediate){}
end
...
end
}
}
...
th.raise # スレッド停止。
この例は以下のように記述する事もできます。
flag = true
th = Thread.new{
Thread.handle_in... -
Prime
:: PseudoPrimeGenerator # each _ with _ index -> Enumerator (21306.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
...を返します。 ブロックを与えられなかった場合は 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 (21306.0) -
与えられたブロックに対して、素数を0起点の連番を渡して評価します。
...を返します。 ブロックを与えられなかった場合は 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... -
Gem
:: DependencyInstaller # gather _ dependencies -> Array (21300.0) -
依存関係を無視するように指定されていない限り、インストールするように指定された Gem が依存している Gem の情報を集めて返します。
依存関係を無視するように指定されていない限り、インストールするように指定された
Gem が依存している Gem の情報を集めて返します。 -
Thread
# pending _ interrupt?(error = nil) -> bool (21300.0) -
self の非同期例外のキューが空かどうかを返します。
...self の非同期例外のキューが空かどうかを返します。
@param error 対象の例外クラスを指定します。
@see Thread.pending_interrupt?... -
MatchData
# end(n) -> Integer | nil (21237.0) -
n 番目の部分文字列終端のオフセットを返します。
...nil を返します。
@param n 部分文字列を指定する数値。
@raise IndexError 範囲外の n を指定した場合に発生します。
//emlist[例][ruby]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p $~.end(0) # => 6
p $~.end(1) # => 3
p $~.end(2) # => 6
p $~.end(3) # => nil
p $~.end......(4) # => `end': index 4 out of matches (IndexError)
//}
@see MatchData#begin... -
Gem
:: SpecFetcher # find _ matching(dependency , all = false , matching _ platform = true) -> Array (18600.0) -
依存関係を満たす gemspec の名前の配列を返します。
...返します。
@param dependency 依存関係を指定します。
@param all 真を指定するとマッチする全てのバージョンの情報を返します。
@param matching_platform 偽を指定すると全てのプラットフォームの情報を返します。
@see Gem::Dependency...