3209件ヒット
[1-100件を表示]
(0.222秒)
ライブラリ
- ビルトイン (1101)
- abbrev (22)
- bigdecimal (11)
-
cgi
/ core (33) -
cgi
/ session (22) -
cgi
/ util (11) - csv (187)
- date (11)
- dbm (11)
- drb (22)
- erb (14)
- etc (11)
- fileutils (11)
- forwardable (33)
- gdbm (22)
- json (143)
-
json
/ add / bigdecimal (22) -
json
/ add / complex (22) -
json
/ add / rational (22) -
json
/ add / symbol (11) - mkmf (44)
-
net
/ http (22) -
net
/ imap (33) -
net
/ pop (11) - objspace (33)
- open-uri (22)
- open3 (99)
- openssl (77)
- optparse (11)
- ostruct (31)
- psych (17)
- rake (11)
- rbconfig (22)
-
rbconfig
/ sizeof (11) -
rdoc
/ context (33) -
rdoc
/ markdown / entities (11) -
rdoc
/ top _ level (11) -
rexml
/ document (110) -
rexml
/ sax2listener (11) -
rexml
/ streamlistener (11) -
rinda
/ rinda (55) -
rinda
/ tuplespace (55) - rubygems (22)
-
rubygems
/ config _ file (22) -
rubygems
/ dependency _ installer (11) -
rubygems
/ dependency _ list (11) -
rubygems
/ remote _ fetcher (11) -
rubygems
/ security (22) -
rubygems
/ source _ index (11) -
rubygems
/ source _ info _ cache (33) -
rubygems
/ specification (11) - set (11)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
syslog
/ logger (11) - tsort (43)
- uri (143)
-
webrick
/ accesslog (11) -
webrick
/ config (11) -
webrick
/ httpauth / htdigest (11) -
webrick
/ httpservlet / filehandler (11) -
webrick
/ httputils (44) -
webrick
/ ssl (22) - win32ole (22)
-
yaml
/ dbm (11) -
yaml
/ store (19)
クラス
- Array (32)
- BigDecimal (33)
- CGI (33)
-
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: NullStore (11) - CSV (165)
-
CSV
:: Table (22) - Complex (22)
- DBM (11)
-
DRb
:: DRbServer (11) - Data (2)
- Date (11)
- ERB (14)
- Encoding (11)
-
Encoding
:: Converter (44) - Float (11)
- GDBM (22)
-
Gem
:: ConfigFile (22) -
Gem
:: DependencyInstaller (11) -
Gem
:: DependencyList (11) -
Gem
:: RemoteFetcher (11) -
Gem
:: SourceIndex (11) -
Gem
:: SourceInfoCache (33) -
Gem
:: Specification (11) - Hash (386)
- Module (5)
-
Net
:: HTTPRequest (11) -
Net
:: IMAP (33) -
Net
:: POP3 (11) - Numeric (11)
- Object (33)
-
OpenSSL
:: Config (11) -
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: ExtensionFactory (33) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (31)
-
RDoc
:: Context (33) -
RDoc
:: Markdown (11) -
RDoc
:: Options (11) -
RDoc
:: TopLevel (11) -
REXML
:: Attributes (11) -
REXML
:: DocType (22) -
REXML
:: Document (11) -
REXML
:: Element (44) -
REXML
:: XPath (22) -
Rake
:: TaskArguments (11) - Rational (33)
-
Rinda
:: TupleEntry (11) -
Rinda
:: TupleSpace (44) -
Rinda
:: TupleSpaceProxy (44) -
RubyVM
:: InstructionSequence (55) - Set (11)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (88)
- Struct (11)
- Symbol (11)
-
Syslog
:: Logger (11) - Thread (11)
-
URI
:: FTP (22) -
URI
:: Generic (44) -
URI
:: HTTP (22) -
URI
:: LDAP (22) -
URI
:: MailTo (22) -
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPServlet :: FileHandler (11) - WIN32OLE (11)
-
YAML
:: DBM (11) -
YAML
:: Store (19)
モジュール
- Abbrev (11)
-
CGI
:: QueryExtension (11) - DRb (11)
- Enumerable (51)
- Etc (11)
- FileUtils (11)
- Forwardable (11)
- GC (38)
-
GC
:: Profiler (11) -
Gem
:: QuickLoader (22) -
Gem
:: Security (22) - JSON (44)
-
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (198)
- Marshal (22)
-
Net
:: HTTPHeader (11) - ObjectSpace (33)
- Open3 (99)
- OpenURI (22)
-
OptionParser
:: Arguable (11) - Psych (17)
-
REXML
:: SAX2Listener (11) -
REXML
:: StreamListener (11) - RbConfig (33)
- Signal (11)
- SingleForwardable (22)
- TSort (43)
- URI (11)
-
WEBrick
:: AccessLog (11) -
WEBrick
:: Config (33) -
WEBrick
:: HTTPUtils (33)
オブジェクト
- ENV (114)
キーワード
- CONFIG (11)
-
DEFAULT
_ ENTITIES (11) -
DEFAULT
_ OPTIONS (22) - DefaultMimeTypes (11)
- ExtensionFactory (11)
- FileHandler (11)
- FormData (11)
- GemPaths (11)
- GemVersions (11)
- General (11)
-
HTML
_ ENTITIES (11) - HandlerTable (11)
- InvalidHashTupleKey (11)
-
LEVEL
_ MAP (11) - LIMITS (11)
-
MAKEFILE
_ CONFIG (11) -
MARSHAL
_ FIELDS (11) - Marshal フォーマット (11)
-
OPT
_ TABLE (11) - Policies (11)
- Ruby用語集 (11)
-
SCRIPT
_ LINES _ _ (11) - SSL (11)
-
TABLE
_ FOR _ ESCAPE _ HTML _ _ (11) - WIN32OLE (11)
- [] (11)
- []= (11)
-
_ strptime (11) - abbrev (22)
-
add
_ attributes (11) -
add
_ class _ or _ module (22) -
add
_ element (11) -
alias
_ map (6) - aliases (11)
- assoc (22)
- build (110)
- build2 (22)
-
build
_ self _ signed _ cert (11) - classify (11)
- collect (12)
- compact! (8)
-
compare
_ by _ identity (11) -
compare
_ by _ identity? (11) - compile (11)
-
compile
_ file (11) -
compile
_ option (11) -
compile
_ option= (11) - context (11)
-
count
_ nodes (11) -
count
_ objects _ size (11) -
count
_ tdata _ objects (11) -
create
_ ext _ from _ hash (11) -
create
_ extension (22) -
deconstruct
_ keys (2) - default (22)
-
default
_ proc (11) - delegate (11)
- delete (11)
-
delete
_ if (22) - dig (36)
- dump (22)
- each (44)
-
each
_ pair (11) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (21) -
encode
_ www _ form (11) - entities (11)
- eql? (22)
- exec (44)
- fetch (33)
-
fetch
_ path (11) - files (11)
- filter (57)
- filter! (24)
- foreach (11)
- format (11)
- generate (11)
-
generate
_ line (11) - getopts (11)
-
group
_ by (22) - gsub (11)
- gsub! (33)
-
handle
_ interrupt (11) -
hash
_ old (11) - header (11)
- include? (11)
- index (7)
-
instance
_ delegate (11) - invoke (11)
-
irb
/ completion (11) -
is
_ a? (11) -
json
_ create (33) -
keep
_ if (34) - key (7)
-
kind
_ of? (11) -
latest
_ cache _ data (11) -
latest
_ gc _ info (22) - length (11)
- list (11)
-
load
_ mime _ types (11) - map (12)
-
mark
_ hashentry (11) - match (11)
- modifiable (11)
- namespaces (11)
- new (109)
- numhash (11)
- open (44)
-
open
_ uri (22) - out (11)
- parse (11)
-
parse
_ header (11) -
parse
_ line (11) - pipeline (11)
-
pipeline
_ r (22) -
pipeline
_ rw (22) -
pipeline
_ start (22) -
pipeline
_ w (22) -
pretty
_ generate (11) -
pretty
_ unparse (11) -
primitive
_ convert (44) - rassoc (22)
-
raw
_ data (11) -
rb
_ f _ hash (11) -
rb
_ mark _ hash (11) - read (33)
-
read
_ all (22) -
read
_ cache _ data (11) - readlines (11)
- rehash (28)
- reject (22)
- reject! (22)
-
reset
_ cache _ for (11) - restore (22)
- result (7)
-
result
_ with _ hash (7) -
rexml
/ parsers / ultralightparser (11) -
rm
_ f (11) -
rm
_ rf (11) -
ruby 1
. 8 . 2 feature (11) -
ruby2
_ keywords (5) -
safe
_ load (17) - select (35)
- select! (44)
-
setup
_ params (11) - shift (11)
-
show
_ hash (11) -
single
_ delegate (11) - size (11)
- slice (13)
- spawn (44)
-
spec
_ predecessors (11) - sprintf (11)
-
ssl
_ params (11) -
st
_ foreach (11) -
st
_ init _ table (11) -
st
_ init _ table _ with _ size (11) -
start
_ element (11) -
start
_ service (11) - starttls (22)
- stat (11)
-
stat
_ col (11) - sub (11)
- sub! (22)
- system (44)
- table (11)
-
tag
_ start (11) - take (22)
-
to
_ csv (11) -
to
_ h (28) -
to
_ json (143) -
to
_ s (11) -
transform
_ keys! (10) -
transform
_ values (16) -
transform
_ values! (16) -
try
_ convert (11) -
tsort
_ each (11) - uname (11)
-
unmatched
_ alias _ lists (11) -
unmatched
_ alias _ lists= (11) - unparse (11)
- value (11)
-
verify
_ compaction _ references (5) -
with
_ defaults (11) - write (22)
- xmlrpc (3)
- xsystem (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- リテラル (11)
検索結果
先頭5件
-
irb
/ completion (32006.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Objec......覧がでます.
irb(main):003:0> foo.
foo.== foo.frozen? foo.protected_methods
foo.=== foo.hash foo.public_methods
foo.=~ foo.id foo.respond_to?
foo.__id__ foo.inspect f... -
WEBrick
:: HTTPServlet :: FileHandler :: HandlerTable -> Hash (24301.0) -
拡張子に対応するサーブレットを登録するためのハッシュです。
拡張子に対応するサーブレットを登録するためのハッシュです。 -
Rational
# hash -> Integer (24207.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
@return ハッシュ値を返します。
@see Object#hash... -
Gem
:: ConfigFile # hash -> Hash (24202.0) -
設定ファイルの各項目のキーと値を要素として持つハッシュです。
設定ファイルの各項目のキーと値を要素として持つハッシュです。 -
BigDecimal
# hash -> Integer (24201.0) -
self のハッシュ値を返します。
...self のハッシュ値を返します。
符号、小数部、指数部が同じ場合に同じハッシュ値を返します。... -
RubyVM
:: InstructionSequence . compile _ file(file , options = nil) -> RubyVM :: InstructionSequence (21706.0) -
引数 file で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
...file で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
RubyVM::InstructionSequence.compile とは異なり、file、path などの
メタデータは自動的に取得します。
@param file......tions コンパイル時のオプションを true、false、Hash オブ
ジェクトのいずれかで指定します。詳細は
RubyVM::InstructionSequence.compile_option= を参照
してください。
# /tmp/hello.rb
puts "Hello, world!"
# i......rb
RubyVM::InstructionSequence.compile_file("/tmp/hello.rb")
# => <RubyVM::InstructionSequence:<main>@/tmp/hello.rb>
@see RubyVM::InstructionSequence.compile... -
SingleForwardable
# single _ delegate(hash) -> () (21414.0) -
メソッドの委譲先を設定します。
...メソッドの委譲先を設定します。
@param hash 委譲先のメソッドがキー、委譲先のオブジェクトが値の
Hash を指定します。キーは Symbol、
String かその配列で指定します。
@see Forwardable#delegate... -
Hash
# filter! {|key , value| . . . } -> self | nil (21330.0) -
キーと値を引数としてブロックを評価した結果が真であるような要素を self に残します。
...うな要素を self
に残します。
keep_if は常に self を返します。
filter! と select! はオブジェクトが変更された場合に self を、
されていない場合に nil を返します。
ブロックが与えられなかった場合は、自身と keep_if から生成し....../emlist[例][ruby]{
h1 = {}
c = ("a".."g")
c.each_with_index {|e, i| h1[i] = e }
h2 = h1.dup
h1.select! # => #<Enumerator: {0=>"a", 1=>"b", 2=>"c", 3=>"d", 4=>"e", 5=>"f", 6=>"g"}:select!>
h1.select! { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h1.select! { |k, v| true } # => nil
h......2.keep_if { |k, v| k % 3 == 0 } # => {0=>"a", 3=>"d", 6=>"g"}
h2.keep_if { |k, v| true } # => {0=>"a", 3=>"d", 6=>"g"}
//}
@see Hash#select, Hash#delete_if, Hash#reject!... -
Hash
# slice(*keys) -> Hash (21323.0) -
引数で指定されたキーとその値だけを含む Hash を返します。
...引数で指定されたキーとその値だけを含む Hash を返します。
//emlist[例][ruby]{
h = { a: 100, b: 200, c: 300 }
h.slice(:a) # => {:a=>100}
h.slice(:c, :b) # => {:c=>300, :b=>200}
h.slice(:b, :c, :d) # => {:b=>200, :c=>300}
//}
@see ENV.slice......引数で指定されたキーとその値だけを含む Hash を返します。
//emlist[例][ruby]{
h = { a: 100, b: 200, c: 300 }
h.slice(:a) # => {:a=>100}
h.slice(:c, :b) # => {:c=>300, :b=>200}
h.slice(:b, :c, :d) # => {:b=>200, :c=>300}
//}
@see Hash#except, ENV.slice... -
Hash
# filter {|key , value| . . . } -> Hash (21314.0) -
key, value のペアについてブロックを評価し,真となるペアだけを含む ハッシュを生成して返します。
...key, value のペアについてブロックを評価し,真となるペアだけを含む
ハッシュを生成して返します。
ブロックが与えられなかった場合は、自身と select から生成した
Enumerator オブジェクトを返します。
//emlist[][ruby]{
h = { "a......" => 100, "b" => 200, "c" => 300 }
h.select {|k,v| k > "a"} #=> {"b" => 200, "c" => 300}
h.select {|k,v| v < 200} #=> {"a" => 100}
//}
@see Hash#select!, Hash#reject... -
Hash
# delete _ if -> Enumerator (21260.0) -
キーと値を引数としてブロックを評価した結果が真であ るような要素を self から削除します。
...な要素を self から削除します。
delete_if は常に self を返します。
reject! は、要素を削除しなかった場合には nil を返し、
そうでなければ self を返します。
ブロックを省略した場合は Enumerator を返します。
//emlist[例][ruby]{
h......lue| key.to_i < value.to_i } #=> { 6 => "4", 8 => "2" }
p h #=> { 6 => "4", 8 => "2" }
p h.delete_if{|key, value| key.to_i < value.to_i } #=> { 6 => "4", 8 => "2" }
p h.reject!{|key, value| key.to_i < value.to_i } #=> nil
//}
@see Hash#reject,Hash......#delete
@see Hash#keep_if,Hash#select!...