ライブラリ
- English (66)
- ビルトイン (747)
- continuation (11)
- csv (11)
-
fiddle
/ import (22) - json (33)
-
mutex
_ m (11) -
net
/ ftp (18) -
net
/ http (143) -
net
/ imap (11) - openssl (11)
- pathname (66)
- prime (22)
- psych (22)
- rake (55)
-
rinda
/ tuplespace (11) -
ripper
/ lexer (18) -
rubygems
/ dependency _ list (11) - socket (11)
- strscan (22)
- tempfile (20)
- tsort (20)
-
webrick
/ httputils (55) - zlib (66)
クラス
-
ARGF
. class (44) - Array (63)
- BasicSocket (11)
- CSV (11)
- Data (2)
-
Encoding
:: Converter (44) - Enumerator (33)
-
Enumerator
:: ArithmeticSequence (11) -
Enumerator
:: Lazy (11) -
Gem
:: DependencyList (11) - LoadError (11)
- MatchData (92)
- Method (11)
- Module (85)
-
Net
:: FTP (18) -
Net
:: HTTP (143) -
Net
:: IMAP (11) - Numeric (48)
- Object (55)
-
OpenSSL
:: SSL :: SSLContext (11) - Pathname (66)
- Prime (22)
-
Rake
:: Application (11) -
Rake
:: FileList (11) - Regexp (44)
-
Rinda
:: TupleSpace (11) - Ripper (18)
-
RubyVM
:: InstructionSequence (11) - String (22)
- StringScanner (22)
- Tempfile (20)
-
WEBrick
:: HTTPUtils :: FormData (55) -
Zlib
:: Deflate (11) -
Zlib
:: GzipReader (33) -
Zlib
:: Inflate (22)
モジュール
- Enumerable (33)
-
Fiddle
:: Importer (22) - JSON (22)
-
JSON
:: Generator :: GeneratorMethods :: Object (11) - Kernel (179)
-
Mutex
_ m (11) - Psych (22)
- Rake (22)
-
Rake
:: TaskManager (11) - TSort (20)
- Warning (3)
キーワード
-
$ CHILD _ STATUS (11) -
$ INPUT _ RECORD _ SEPARATOR (11) -
$ LAST _ MATCH _ INFO (11) -
$ LAST _ PAREN _ MATCH (11) -
$ OUTPUT _ RECORD _ SEPARATOR (11) -
$ RS (11) -
$ ~ (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - Continuation (11)
- DATA (11)
- Enumerator (11)
- Marshal フォーマット (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- [] (88)
-
absolute
_ path (11) - append (11)
-
append
_ features (11) - application (11)
- application= (11)
- ascend (22)
- attr (24)
-
attr
_ accessor (8) -
attr
_ reader (8) -
attr
_ writer (8) - autoload (22)
- begin (16)
- byteoffset (4)
- caller (33)
-
caller
_ locations (22) - chunk (11)
-
const
_ source _ location (5) - create (20)
-
create
_ rule (11) -
create
_ value (11) -
deconstruct
_ keys (2) - descend (22)
- each (55)
-
each
_ byte (11) -
each
_ line (44) -
each
_ strongly _ connected _ component (10) -
enum
_ for (22) - feed (11)
- filename (11)
- filename= (11)
-
find
_ name (11) - fork (22)
- generate (11)
- get (22)
- get2 (22)
- inflate (11)
-
last
_ match (22) - lex (7)
- load (11)
- loop (11)
- match (22)
- match? (11)
-
matched
_ size (11) -
max
_ by (22) - mlsd (18)
- name (11)
- name= (11)
- new (33)
-
next
_ values (11) - notify (11)
- offset (22)
- opendir (22)
- pack (19)
- pack テンプレート文字列 (11)
- params (11)
- parse (11)
- path (11)
- pathmap (11)
-
peek
_ values (11) - post (22)
- post2 (22)
-
primitive
_ convert (44) - private (16)
- recvmsg (11)
-
renegotiation
_ cb= (11) -
request
_ get (22) -
request
_ post (22) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (5) -
send
_ request (11) - slice (11)
-
source
_ location (11) - step (48)
-
to
_ enum (22) -
to
_ json (11) -
tsort
_ each (10) - unpack (11)
- unparse (11)
- value (11)
- warn (6)
- 制御構造 (11)
- 演算子式 (11)
検索結果
先頭5件
-
MatchData
# end(n) -> Integer | nil (24250.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... -
Enumerator
:: ArithmeticSequence # end -> Numeric | nil (21202.0) -
末項(終端)を返します。
...末項(終端)を返します。
@see Enumerator::ArithmeticSequence#begin... -
Array
# at(nth) -> object | nil (15239.0) -
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
...nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
@param nth インデックスを整数で指定します。
先頭の要素が 0 番目になります。nth の値が負の時には末尾から
のインデックス......みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby]{
a = [ "a", "b", "c", "d", "e" ]
a[0] #=> "a"
a[1] #=> "b"
a[-1] #=> "e"
a[-2] #=> "d"
a[10] #=> nil
//}... -
Mutex
_ m . append _ features(klass) -> Class | nil (12301.0) -
ユーザが直接、使うことはありません。
...ユーザが直接、使うことはありません。
@see Module#append_features... -
Pathname
# ascend {|pathname| . . . } -> nil (9301.0) -
self のパス名から親方向に辿っていったときの各パス名を新しい Pathname オ ブジェクトとして生成し、ブロックへの引数として渡して実行します。 ブロックを省略した場合は Enumerator を返します。
...Pathname オ
ブジェクトとして生成し、ブロックへの引数として渡して実行します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new('/path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:/path/to/......ome/file.rb>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to>
# #<Pathname:/path>
# #<Pathname:/>
Pathname.new('path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:path/to/some/file.rb>
# #<Pathname:path/to/some>
# #<Pathname:path/to>
# #<Pathname:path>
//}
ファイル... -
Pathname
# descend {|pathname| . . . } -> nil (9301.0) -
self のパス名の親から子供へと辿っていったときの各パス名を新しい Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま す。 ブロックを省略した場合は Enumerator を返します。
...しい
Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま
す。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new('/path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:/>......# #<Pathname:/path>
# #<Pathname:/path/to>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to/some/file.rb>
Pathname.new('path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:path>
# #<Pathname:path/to>
# #<Pathname:path/to/some>
# #<Pathname:path/to/some/file.rb>
//}
フ... -
Pathname
# ascend -> Enumerator (9201.0) -
self のパス名から親方向に辿っていったときの各パス名を新しい Pathname オ ブジェクトとして生成し、ブロックへの引数として渡して実行します。 ブロックを省略した場合は Enumerator を返します。
...Pathname オ
ブジェクトとして生成し、ブロックへの引数として渡して実行します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new('/path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:/path/to/......ome/file.rb>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to>
# #<Pathname:/path>
# #<Pathname:/>
Pathname.new('path/to/some/file.rb').ascend {|v| p v}
# => #<Pathname:path/to/some/file.rb>
# #<Pathname:path/to/some>
# #<Pathname:path/to>
# #<Pathname:path>
//}
ファイル... -
Pathname
# descend -> Enumerator (9201.0) -
self のパス名の親から子供へと辿っていったときの各パス名を新しい Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま す。 ブロックを省略した場合は Enumerator を返します。
...しい
Pathname オブジェクトとして生成し、ブロックへの引数として渡して実行しま
す。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
require 'pathname'
Pathname.new('/path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:/>......# #<Pathname:/path>
# #<Pathname:/path/to>
# #<Pathname:/path/to/some>
# #<Pathname:/path/to/some/file.rb>
Pathname.new('path/to/some/file.rb').descend {|v| p v}
# => #<Pathname:path>
# #<Pathname:path/to>
# #<Pathname:path/to/some>
# #<Pathname:path/to/some/file.rb>
//}
フ... -
Pathname
# opendir {|dir| . . . } -> nil (9201.0) -
Dir.open(self.to_s, &block) と同じです。
Dir.open(self.to_s, &block) と同じです。
@see Dir.open -
Zlib
:: Inflate # inflate(string) -> String (9112.0) -
string を展開ストリームに入力します。
...。
string が nil の場合はストリームへの入力を
終了します。(Zlib::ZStream#finish と同じ)。
@param string 展開する文字列を入力します。
@raise Zlib::NeedDict 展開に辞書が必要な場合に発生します。
Zlib::Inflate#set_dictiona......ry メソッドで辞書をセットした
後で、空文字列と共にこのメソッドを再度呼び出して下さい。
require 'zlib'
cstr = "x\234\313\310OOUH+MOTH\315K\001\000!\251\004\276"
inz = Zlib::Inflate.new
p inz.inflate(cstr) #=> "hoge fuga end"...