2599件ヒット
[1-100件を表示]
(0.133秒)
種類
ライブラリ
- ビルトイン (809)
-
bigdecimal
/ ludcmp (12) -
cgi
/ core (36) - csv (24)
- dbm (48)
- delegate (12)
- erb (60)
- fiddle (24)
-
fiddle
/ import (12) -
fiddle
/ types (24) - forwardable (12)
- gdbm (48)
- ipaddr (12)
-
irb
/ ext / math-mode (4) - matrix (24)
-
minitest
/ spec (1) -
minitest
/ unit (2) - mkmf (84)
-
mutex
_ m (12) -
net
/ http (12) -
net
/ smtp (12) - objspace (12)
- observer (12)
- openssl (84)
- pathname (51)
- profiler (6)
- rake (24)
-
rake
/ packagetask (24) -
rdoc
/ code _ object (12) -
rdoc
/ context (48) -
rdoc
/ include (12) -
rdoc
/ parser / text (12) -
rdoc
/ text (12) -
rexml
/ document (36) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (24) -
rinda
/ tuplespace (12) -
rubygems
/ version (12) - sdbm (48)
- set (23)
- singleton (24)
- socket (36)
- sync (6)
- syslog (12)
- tsort (104)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpresponse (60) -
webrick
/ httpserver (24) -
webrick
/ httputils (12) - win32ole (48)
クラス
- Array (12)
-
CSV
:: Row (24) - DBM (48)
- Delegator (12)
- ERB (12)
- GDBM (48)
-
Gem
:: Version (12) - Hash (48)
- IPAddr (12)
-
IRB
:: Context (4) - Method (24)
- Module (264)
- Object (121)
-
OpenSSL
:: ASN1 :: ObjectId (24) -
OpenSSL
:: X509 :: Extension (24) - Pathname (51)
- Proc (6)
-
RDoc
:: Context (48) -
RDoc
:: Options (24) -
REXML
:: AttlistDecl (12) -
REXML
:: Parsers :: SAX2Parser (60) -
Rake
:: FileList (24) -
Rake
:: PackageTask (24) - Range (55)
- Refinement (4)
- SDBM (48)
- Set (32)
- Socket (24)
- String (12)
- Sync (6)
- TracePoint (12)
- UnboundMethod (12)
- Vector (24)
-
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPResponse (60) -
WEBrick
:: HTTPServer (24) - WIN32OLE (36)
-
WIN32OLE
_ VARIANT (12)
モジュール
-
CGI
:: QueryExtension (36) -
ERB
:: Util (48) - Enumerable (48)
- GC (12)
- Kernel (96)
- LUSolve (12)
-
MiniTest
:: Assertions (2) - ObjectSpace (12)
- Process (24)
-
Process
:: GID (24) -
Process
:: UID (24) -
RDoc
:: Text (12) -
REXML
:: StreamListener (12) - Singleton (12)
-
Socket
:: Constants (12) - Syslog (12)
- TSort (104)
-
WEBrick
:: HTTPUtils (12)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - < (12)
- <= (12)
- <=> (12)
- === (20)
- > (12)
- >= (12)
- BasicTypes (12)
- BlockCaller (12)
- CStruct (12)
- Closure (12)
- CodeObject (12)
- Enumerator (12)
- Forwardable (12)
- HTTPExceptions (12)
- Htdigest (12)
- Htpasswd (12)
-
MCAST
_ INCLUDE (24) -
Mutex
_ m (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Namespace (12)
- Node (12)
- OCSP (12)
- Observable (12)
-
Profiler
_ _ (6) - Range (12)
- Ruby用語集 (12)
- SAX2Listener (12)
- SMTPError (12)
- SSLServer (12)
- SSLSocket (12)
- Set (3)
- Singleton (12)
- StreamListener (12)
- Text (12)
- TupleSpace (12)
- WUNTRACED (12)
- Win32Types (12)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
add
_ include (12) -
add
_ to (12) - ancestors (12)
-
append
_ features (12) -
assert
_ includes (1) -
assert
_ send (1) -
bigdecimal
/ math (12) - bind (12)
- body= (12)
- chunked= (12)
-
connect
_ nonblock (12) -
const
_ defined? (12) -
const
_ get (12) -
const
_ source _ location (12) - constants (12)
-
content
_ length (12) -
content
_ length= (12) - cover? (19)
-
def
_ module (12) -
defined
_ class (12) -
dir
_ config (12) -
drb
/ extservm (12) - e2mmap (6)
- each (24)
-
each
_ child (24) -
each
_ entry (39) -
each
_ strongly _ connected _ component (23) -
each
_ strongly _ connected _ component _ from (46) -
enable
_ config (24) - entitydecl (12)
- entries (12)
- eql? (12)
- extend (12)
- fiddle (12)
-
fiddle
/ types (12) -
garbage
_ collect (12) - getrlimit (12)
- h (12)
-
has
_ key? (72) - header? (12)
-
html
_ escape (12) -
import
_ methods (4) - include (36)
- include? (180)
-
include
_ class _ new (12) -
include
_ line _ numbers (12) - included (12)
-
included
_ modules (12) - includes (12)
-
initialize
_ methods _ etc (12) - inspect (12)
- instance (12)
-
irb
/ completion (12) -
is
_ a? (12) - key? (72)
-
kind
_ of? (12) - listen (60)
- lusolve (12)
- markup (12)
- mask (12)
-
math
_ mode= (4) - member? (96)
-
method
_ defined? (12) - methods (12)
-
mime
_ type (12) - mount (12)
-
must
_ include (1) - new (78)
-
package
_ files (12) - parse (12)
-
prepend
_ features (12) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) -
public
_ method _ defined? (12) -
public
_ methods (12) -
rake
/ packagetask (12) -
rake
/ rdoctask (12) -
rb
_ ary _ includes (12) -
rb
_ include _ module (12) -
rb
_ mod _ append _ features (12) -
rb
_ mod _ include (12) -
rb
_ mod _ include _ p (12) -
rb
_ mod _ included _ modules (12) -
rdoc
/ include (12) -
rdoc
_ include (12) - resolve (12)
-
respond
_ to? (12) -
respond
_ to _ missing? (24) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby2
_ keywords (18) -
rubygems
/ commands / install _ command (12) - set (9)
-
singleton
_ methods (12) -
strongly
_ connected _ components (12) - switch (48)
- syscall (12)
-
to
_ s (24) -
top
_ include (12) -
trace
_ object _ allocations (12) -
try
_ cpp (24) - tsort (12)
-
tsort
_ each (23) - u (12)
-
url
_ encode (12) -
virtual
_ host (12) -
with
_ config (24) - オブジェクト (12)
- クラス/メソッドの定義 (12)
- 変数と定数 (12)
検索結果
先頭5件
-
Enumerable
# include?(val) -> bool (32213.0) -
val と == の関係にある要素を含むとき真を返します。
...val と == の関係にある要素を含むとき真を返します。
@param val 任意のオブジェクト
//emlist[例][ruby]{
[2, 4, 6].include? 2 #=> true
[2, 4, 6].include? 1 #=> false
[2, 4, 6].member? 2 #=> true
[2, 4, 6].member? 1 #=> false
//}... -
ENV
. include?(key) -> bool (29201.0) -
key で指定される環境変数が存在する時、真を返します。
...key で指定される環境変数が存在する時、真を返します。
@param key 環境変数の名前を指定します。文字列で指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッ
ドによる暗黙の型変換を試... -
Enumerable
# member?(val) -> bool (29113.0) -
val と == の関係にある要素を含むとき真を返します。
...val と == の関係にある要素を含むとき真を返します。
@param val 任意のオブジェクト
//emlist[例][ruby]{
[2, 4, 6].include? 2 #=> true
[2, 4, 6].include? 1 #=> false
[2, 4, 6].member? 2 #=> true
[2, 4, 6].member? 1 #=> false
//}... -
Enumerable
# each _ entry -> Enumerator (29106.0) -
ブロックを各要素に一度ずつ適用します。
...配列として渡されます。
//emlist[例][ruby]{
class Foo
include Enumerable
def each
yield 1
yield 1,2
end
end
Foo.new.each_entry{|o| print o, " -- "}
# => 1 -- [1, 2] --
//}
ブロックを省略した場合は Enumerator が返されます。
@see Enumerable#slice_before... -
Enumerable
# each _ entry {|obj| block} -> self (29106.0) -
ブロックを各要素に一度ずつ適用します。
...配列として渡されます。
//emlist[例][ruby]{
class Foo
include Enumerable
def each
yield 1
yield 1,2
end
end
Foo.new.each_entry{|o| print o, " -- "}
# => 1 -- [1, 2] --
//}
ブロックを省略した場合は Enumerator が返されます。
@see Enumerable#slice_before... -
ENV
. has _ key?(key) -> bool (26201.0) -
key で指定される環境変数が存在する時、真を返します。
...key で指定される環境変数が存在する時、真を返します。
@param key 環境変数の名前を指定します。文字列で指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッ
ドによる暗黙の型変換を試... -
ENV
. key?(key) -> bool (26201.0) -
key で指定される環境変数が存在する時、真を返します。
...key で指定される環境変数が存在する時、真を返します。
@param key 環境変数の名前を指定します。文字列で指定します。
文字列以外のオブジェクトを指定した場合は to_str メソッ
ドによる暗黙の型変換を試... -
ERB
# def _ module(methodname=& # 39;erb& # 39;) -> Module (26106.0) -
変換した Ruby スクリプトをメソッドとして定義した無名のモジュールを返します。
...am methodname メソッド名
//emlist[例][ruby]{
require 'erb'
filename = 'example.rhtml'
erb = ERB.new("test1<%= arg1 %>\ntest2<%= arg2 %>\n")
erb.filename = filename
MyModule = erb.def_module('render(arg1, arg2)')
class MyClass
include MyModule
end
print MyClass.new.render('foo', 123)
# test1......foo
# test2123
//}... -
ERB
:: Util . # html _ escape(s) -> String (26106.0) -
文字列 s を HTML用にエスケープした文字列を返します。
...照 & " < > にそれぞれ変更した文字列を返します
(CGI.escapeHTMLとほぼ同じです)。
@param s HTMLエスケープを行う文字列
//emlist[例][ruby]{
require "erb"
include ERB::Util
puts html_escape("is a > 0 & a < 10?")
# is a > 0 & a < 10?
//}...
