ライブラリ
- English (88)
- ビルトイン (1271)
- benchmark (11)
-
cgi
/ html (22) - coverage (6)
- csv (22)
- erb (11)
-
fiddle
/ import (33) -
irb
/ extend-command (11) -
irb
/ input-method (11) - json (44)
- matrix (22)
-
minitest
/ unit (1) - mkmf (88)
-
net
/ ftp (27) -
net
/ http (22) -
net
/ pop (66) - objspace (11)
- optparse (82)
- pstore (11)
- psych (33)
- rake (99)
- readline (44)
-
rexml
/ document (22) -
rexml
/ streamlistener (33) -
rinda
/ tuplespace (11) -
ripper
/ lexer (33) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ dependency (11) -
rubygems
/ installer (11) -
rubygems
/ spec _ fetcher (22) - socket (44)
- strscan (33)
- time (22)
- tmpdir (11)
- tracer (66)
- tsort (53)
-
webrick
/ httpservlet / abstract (66) -
webrick
/ httputils (33) -
win32
/ registry (22) - win32ole (55)
- zlib (220)
クラス
-
ARGF
. class (11) - Array (30)
- BasicSocket (33)
- CSV (11)
-
CSV
:: FieldInfo (11) - Coverage (6)
- Data (2)
- Dir (22)
- ERB (11)
-
Encoding
:: InvalidByteSequenceError (11) - Exception (29)
- Fiber (5)
- File (22)
-
Gem
:: Commands :: DependencyCommand (11) -
Gem
:: Dependency (11) -
Gem
:: Installer (11) -
Gem
:: SpecFetcher (22) - IO (7)
-
IRB
:: StdioInputMethod (11) - LoadError (11)
- MatchData (33)
- Matrix (22)
- Method (11)
- Module (206)
-
Net
:: FTP (18) -
Net
:: FTP :: MLSxEntry (9) -
Net
:: HTTPResponse (11) -
Net
:: POPMail (66) - Object (44)
- OptionParser (82)
- PStore (11)
-
Psych
:: Handler (11) -
REXML
:: Attributes (22) -
Rake
:: Application (44) -
Rake
:: FileList (11) - Regexp (55)
-
Rinda
:: TupleSpace (11) - Ripper (33)
-
RubyVM
:: InstructionSequence (55) - SignalException (11)
- String (124)
- StringScanner (33)
- Struct (22)
- Thread (22)
-
Thread
:: Backtrace :: Location (44) - Time (22)
- TracePoint (118)
- Tracer (66)
- UDPSocket (11)
-
WEBrick
:: HTTPServlet :: AbstractServlet (66) -
WEBrick
:: HTTPUtils :: FormData (33) -
WIN32OLE
_ TYPE (11) -
WIN32OLE
_ VARIABLE (44) -
Zlib
:: Deflate (44) -
Zlib
:: GzipReader (33) -
Zlib
:: GzipWriter (22) -
Zlib
:: Inflate (55) -
Zlib
:: ZStream (55)
モジュール
- Benchmark (11)
-
CGI
:: HtmlExtension (22) - Enumerable (22)
-
Fiddle
:: Importer (33) -
IRB
:: ExtendCommandBundle (11) - JSON (33)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) - Kernel (517)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - ObjectSpace (11)
- Psych (22)
-
REXML
:: StreamListener (33) - Rake (11)
-
Rake
:: TaskManager (22) - Readline (33)
-
RubyVM
:: AbstractSyntaxTree (2) - Signal (22)
- TSort (53)
-
Win32
:: Registry :: Constants (22)
オブジェクト
-
Readline
:: HISTORY (11)
キーワード
-
$ & (11) -
$ & # 39; (11) -
$ 1 (11) -
$ 10 (11) -
$ 11 (11) -
$ 2 (11) -
$ 3 (11) -
$ 4 (11) -
$ 5 (11) -
$ 6 (11) -
$ 7 (11) -
$ 8 (11) -
$ 9 (11) -
$ ARGV (11) -
$ ERROR _ POSITION (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ LAST _ PAREN _ MATCH (11) -
$ LAST _ READ _ LINE (11) -
$ ORS (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ RS (11) -
$ _ (11) -
$ ` (11) - << (11)
- == (11)
- === (22)
- =~ (11)
-
EVENT
_ SYMBOL (11) - Location (11)
-
REG
_ DWORD _ LITTLE _ ENDIAN (11) -
REG
_ QWORD _ LITTLE _ ENDIAN (11) - Rubyの起動 (11)
- StreamEnd (11)
- String (11)
- [] (44)
-
_ dump (11) -
absolute
_ path (22) - accept (22)
-
add
_ filter (22) - all (22)
- appendable? (9)
-
assert
_ send (1) - attr (33)
-
attr
_ accessor (11) -
attr
_ reader (11) -
attr
_ writer (11) - autoload? (11)
- backtrace (11)
-
backtrace
_ locations (11) -
base
_ label (22) - benchmark (11)
- binding (2)
-
callee
_ id (11) - caller (33)
-
caller
_ locations (22) -
class
_ variables (11) - clone (11)
- close (11)
-
completion
_ append _ character (11) -
completion
_ append _ character= (11) -
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
-
create
_ value (11) - crypt (11)
-
deconstruct
_ keys (2) -
defined
_ class (11) - deflate (11)
-
delete
_ suffix (7) -
delete
_ suffix! (7) - desc (11)
- disable (22)
- disassemble (11)
-
do
_ DELETE (11) -
do
_ GET (11) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (11) -
do
_ PUT (11) -
doctype
_ end (11) - dump (11)
- each (22)
-
each
_ attribute (11) -
each
_ byte (11) -
each
_ entry (22) -
each
_ line (22) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
each
_ with _ index (22) - enable (22)
-
enable
_ config (22) -
end
_ stream (11) -
end
_ with? (11) - ended? (11)
-
ensure
_ dependency (11) - entitydecl (11)
-
error
_ bytes (11) -
eval
_ script (6) - event (11)
- exit (11)
- fail (11)
- fetch (22)
- filename (11)
-
find
_ matching (11) - finish (11)
- finished? (11)
-
first
_ lineno (11) - flush (11)
- format (11)
- generate (11)
- gets (22)
- header (11)
- help (11)
- html (22)
- inflate (22)
- inspect (22)
-
instance
_ methods (11) -
irb
_ original _ method _ name (11) - label (11)
-
last
_ comment (11) -
last
_ description (11) -
last
_ match (11) - lex (11)
- lineno (11)
-
load
_ stream (22) - mail (22)
- match (22)
- match? (11)
-
matched
_ size (11) -
method
_ defined? (6) -
method
_ id (11) - methods (11)
- mktmpdir (11)
- mlsd (18)
-
module
_ function (4) - name (44)
- new (33)
- notify (11)
- of (2)
-
ole
_ type (11) -
ole
_ type _ detail (11) - on (11)
-
original
_ dir (22) - pack (19)
- params (11)
- parse (27)
- parse! (11)
- path (22)
- pop (22)
- pread (7)
-
print
_ dependencies (11) - private (4)
-
private
_ instance _ methods (11) -
private
_ method _ defined? (6) - progids (11)
-
protected
_ method _ defined? (6) - public (4)
-
public
_ method _ defined? (6) - raise (16)
- rakefile (11)
- read (22)
-
read
_ body (11) -
readable
_ atfer _ eof? (11) - readchar (11)
- readline (33)
-
recvfrom
_ nonblock (11) - recvmsg (11)
- release (11)
-
requirements
_ list (11) - result (6)
-
return
_ value (11) -
rexml
/ parsers / streamparser (11) - sendmsg (11)
-
sendmsg
_ nonblock (11) -
set
_ backtrace (11) -
set
_ dictionary (22) -
set
_ get _ line _ procs (22) -
set
_ trace _ func (22) - signm (11)
-
singleton
_ methods (11) - slice (11)
-
source
_ location (11) - sprintf (11)
-
start
_ with? (11) -
stream
_ end? (11) -
strongly
_ connected _ components (11) - strptime (22)
- struct (11)
-
tag
_ end (11) -
to
_ json (11) -
to
_ s (55) - tokenize (11)
-
trace
_ object _ allocations (11) - transaction (11)
- trap (22)
- truncate (11)
-
try
_ convert (11) -
try
_ cpp (22) -
try
_ link (22) - unpack (11)
- unparse (11)
- unscan (11)
- upto (11)
- value (11)
-
with
_ config (22) - wrap (22)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- 制御構造 (11)
検索結果
先頭5件
-
Zlib
:: ZStream # end -> nil (21201.0) -
ストリームを閉じます。 以後、このストリームにアクセスすることはできなくなります。
ストリームを閉じます。
以後、このストリームにアクセスすることはできなくなります。 -
Psych
:: Handler # end _ stream -> () (15201.0) -
YAML stream の終端を見付けたときに呼び出されます。
...YAML stream の終端を見付けたときに呼び出されます。
必要に応じてこのメソッドを override してください。... -
Net
:: FTP :: MLSxEntry # appendable? -> bool (15200.0) -
エントリが追記可能であれば true を返します。
...エントリが追記可能であれば true を返します。
APPE コマンド(Net::FTP#putbinaryfile など)
が適用可能であるかどうかを意味します。... -
WEBrick
:: HTTPServlet :: AbstractServlet # do _ DELETE(request , response) -> () (15112.0) -
自身の service メソッドから HTTP のリクエストに応じて 呼ばれるメソッドです。AbstractServlet のサブクラスはこれらのメソッドを適切に実装し なければいけません。返り値は特に規定されていません。
...自身の service メソッドから HTTP のリクエストに応じて
呼ばれるメソッドです。AbstractServlet のサブクラスはこれらのメソッドを適切に実装し
なければいけません。返り値は特に規定されていません。
クライアントが使う可......Response オブジェクトです。
例:
require 'webrick'
class HogeServlet < WEBrick::HTTPServlet::AbstractServlet
def do_GET(req, res)
res.body = 'hoge'
end
end
srv = WEBrick::HTTPServer.new({ :DocumentRoot => './',
:BindAddress => '12......7.0.0.1',
:Port => 20080})
srv.mount('/', HogeServlet)
trap("INT"){ srv.shutdown }
srv.start... -
Zlib
:: StreamEnd (15000.0) -
全ての入力データが処理済みで全ての出力が取り出し済みである場合に発生します。
全ての入力データが処理済みで全ての出力が取り出し済みである場合に発生します。 -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (12418.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
...す。Exception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
ret......th, -1).day == 31
raise "#{month} is not long month"
end
def get_exception
return begin
yield
rescue => e
e
end
end
e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:in `get_excep......tion'", "test.rb:15:in `<main>'"]
//}
@see Exception#backtrace... -
Zlib
:: ZStream # stream _ end? -> bool (12301.0) -
ストリームへの入力が終了している時に真を返します。
ストリームへの入力が終了している時に真を返します。 -
BasicSocket
# sendmsg _ nonblock(mesg , flags=0 , dest _ sockaddr=nil , *controls) -> Integer (12300.0) -
sendmsg(2) を用いてノンブロッキング方式でメッセージを送ります。
...sendmsg(2) を用いてノンブロッキング方式でメッセージを送ります。
詳しくは BasicSocket#sendmsg を見てください。
@return 送ったバイト数
@param mesg メッセージ文字列
@param flags フラグ(Socket::MSG_* という定数の bitwise OR を取ったも......の)
@param dest_sockaddr 通信先のアドレス
@param controls 補助データの配列
@see BasicSocket#sendmsg... -
Readline
. completion _ append _ character -> String (12300.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
...ユーザの入力の補完が完了した場合に、最後に付加する文字を取得します。
@raise NotImplementedError サポートしていない環境で発生します。
@see Readline.completion_append_character=... -
Readline
. completion _ append _ character=(string) (12300.0) -
ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
...ユーザの入力の補完が完了した場合に、最後に付加する文字 string を指定します。
@param string 1文字を指定します。
@raise NotImplementedError サポートしていない環境で発生します。
半角スペース「" "」などの単語を区切る文字......require 'readline'
Readline.readline("> ", true)
Readline.completion_append_character = " "
> /var/li
ここで補完(TABキーを押す)を行う。
> /var/lib
最後に" "が追加されているため、すぐに「/usr」などを入力できる。
> /var/lib /usr
なお、1......ることはできないため、
例えば、"string"を指定した場合は最初の文字である"s"だけを使用します。
require 'readline'
Readline.completion_append_character = "string"
p Readline.completion_append_character # => "s"
@see Readline.completion_append_character...