866件ヒット
[1-100件を表示]
(0.139秒)
ライブラリ
- ビルトイン (332)
-
cgi
/ core (33) - cmath (6)
- csv (11)
- dbm (11)
- erb (22)
- gdbm (11)
-
irb
/ ext / math-mode (4) - mkmf (22)
-
net
/ http (11) - pathname (44)
- rake (11)
-
rdoc
/ context (22) -
rexml
/ parsers / sax2parser (55) -
rubygems
/ version (11) - sdbm (11)
- tsort (64)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httpresponse (55) -
webrick
/ httpserver (22) -
webrick
/ httputils (11)
クラス
-
CSV
:: Row (11) - DBM (11)
- GDBM (11)
-
Gem
:: Version (11) - Hash (11)
-
IRB
:: Context (4) - Method (22)
- Module (153)
- Object (55)
- Pathname (44)
-
RDoc
:: Context (22) -
REXML
:: Parsers :: SAX2Parser (55) -
Rake
:: FileList (11) - Refinement (3)
- SDBM (11)
- String (11)
- UnboundMethod (11)
-
WEBrick
:: HTTPResponse (55) -
WEBrick
:: HTTPServer (22)
モジュール
-
CGI
:: QueryExtension (33) -
ERB
:: Util (22) - Kernel (33)
-
Process
:: GID (22) -
Process
:: UID (22) - TSort (64)
-
WEBrick
:: HTTPUtils (11)
オブジェクト
- ENV (11)
キーワード
- < (11)
- <= (11)
- <=> (11)
- > (11)
- >= (11)
- CMath (6)
- HTTPExceptions (11)
- Htdigest (11)
- Htpasswd (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
add
_ to (11) -
bigdecimal
/ math (11) - bind (11)
- body= (11)
- cgi (11)
- chunked= (11)
-
const
_ defined? (11) -
const
_ get (11) -
const
_ source _ location (5) - constants (11)
-
content
_ length (11) -
content
_ length= (11) -
each
_ child (22) -
each
_ entry (11) -
each
_ strongly _ connected _ component (11) -
each
_ strongly _ connected _ component _ from (42) - entries (11)
- eql? (11)
-
has
_ key? (11) -
html
_ escape (11) -
import
_ methods (3) - include? (88)
-
initialize
_ methods _ etc (11) - inspect (11)
- key? (11)
- listen (55)
-
math
_ mode= (4) -
method
_ defined? (11) - methods (11)
-
mime
_ type (11) - mount (11)
-
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (11) -
public
_ method _ defined? (11) -
public
_ methods (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby2
_ keywords (5) -
rubygems
/ commands / install _ command (11) -
singleton
_ methods (11) - switch (44)
- syscall (11)
-
to
_ s (22) -
tsort
_ each (11) -
virtual
_ host (11) -
with
_ config (22)
検索結果
先頭5件
-
Rake
:: FileList # include(*filenames) -> self (24219.0) -
ファイル名のパターンを追加リストに登録します。 配列が与えられた場合、配列の各要素が追加されます。
...ターンを追加リストに登録します。
配列が与えられた場合、配列の各要素が追加されます。
@param filenames 追加するファイル名のパターンを指定します。
例:
file_list.include("*.java", "*.cfg")
file_list.include %w( math.c lib.h *.o )... -
ERB
:: Util . # h(s) -> String (21207.0) -
文字列 s を HTML用にエスケープした文字列を返します。
...s を HTML用にエスケープした文字列を返します。
文字列 s 中に含まれる &"<> を、実体参照 & " < > にそれぞれ変更した文字列を返します
(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?
//}... -
String
# include?(substr) -> bool (15225.0) -
文字列中に部分文字列 substr が含まれていれば真を返します。
...文字列中に部分文字列 substr が含まれていれば真を返します。
@param substr 検索する文字列
//emlist[例][ruby]{
"hello".include? "lo" #=> true
"hello".include? "ol" #=> false
"hello".include? ?h #=> true
//}... -
WEBrick
:: HTTPAuth :: Htdigest (15006.0) -
Apache の htdigest 互換のクラス。
...Apache の htdigest 互換のクラス。
例
require 'webrick'
include WEBrick
htd = HTTPAuth::Htdigest.new('dot.htdigest')
htd.set_passwd('realm', 'username', 'supersecretpass')
htd.flush
htd2 = HTTPAuth::Htdigest.new('dot.htdigest')
p htd2.get_passwd('realm', 'username', false) == '65fe0... -
Module
# method _ defined?(name , inherit=true) -> bool (12312.0) -
モジュールにインスタンスメソッド name が定義されており、 かつその可視性が public または protected であるときに true を返します。
...lic または protected であるときに
true を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジュールで
定義されたメソッドも対象になります。
@see Module#public_meth......ined?, Module#private_method_defined?, Module#protected_method_defined?
//emlist[例][ruby]{
module A
def method1() end
def protected_method1() end
protected :protected_method1
end
class B
def method2() end
def private_method2() end
private :private_method2
end
class C < B
include......def method3() end
end
A.method_defined? :method1 #=> true
C.method_defined? "method1" #=> true
C.method_defined? "method2" #=> true
C.method_defined? "method2", true #=> true
C.method_defined? "method2", false #=> false
C.method_defined? "method3"... -
Module
# protected _ method _ defined?(name , inherit=true) -> bool (12312.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
...ol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジュールで
定義されたメソッドも対象になります。
@see Module#method_defined?, Module#public_method_defined?, Module#private_method_defined?
//emlist[例][r......hod1() end
end
class B
protected
def method2() end
end
class C < B
include A
def method3() end
end
A.method_defined? :method1 #=> true
C.protected_method_defined? "method1" #=> false
C.protected_method_defined? "method2" #=> true
C.protected_method_defi......ned? "method2", true #=> true
C.protected_method_defined? "method2", false #=> false
C.method_defined? "method2" #=> true
//}... -
Pathname
# each _ child(with _ directory = true) -> Enumerator (12312.0) -
self.children(with_directory).each と同じです。
...self.children(with_directory).each と同じです。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
//emlist[例][ruby]{
require "pathname"
Pathname("/usr/local").each_child {|f| p f }
# => #<Pathname:/usr/local/bin>
# => #<Pathname:......Pathname:/usr/local/include>
# => #<Pathname:/usr/local/lib>
# => #<Pathname:/usr/local/opt>
# => #<Pathname:/usr/local/sbin>
# => #<Pathname:/usr/local/share>
# => #<Pathname:/usr/local/var>
Pathname("/usr/local").each_child(false) {|f| p f }
# => #<Pathname:bin>
# => #<Pathname:etc>
# => #<Pathna......me:include>
# => #<Pathname:lib>
# => #<Pathname:opt>
# => #<Pathname:sbin>
# => #<Pathname:share>
# => #<Pathname:var>
//}
@see Pathname#children... -
Pathname
# each _ child(with _ directory = true) {|pathname| . . . } -> [Pathname] (12312.0) -
self.children(with_directory).each と同じです。
...self.children(with_directory).each と同じです。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
//emlist[例][ruby]{
require "pathname"
Pathname("/usr/local").each_child {|f| p f }
# => #<Pathname:/usr/local/bin>
# => #<Pathname:......Pathname:/usr/local/include>
# => #<Pathname:/usr/local/lib>
# => #<Pathname:/usr/local/opt>
# => #<Pathname:/usr/local/sbin>
# => #<Pathname:/usr/local/share>
# => #<Pathname:/usr/local/var>
Pathname("/usr/local").each_child(false) {|f| p f }
# => #<Pathname:bin>
# => #<Pathname:etc>
# => #<Pathna......me:include>
# => #<Pathname:lib>
# => #<Pathname:opt>
# => #<Pathname:sbin>
# => #<Pathname:share>
# => #<Pathname:var>
//}
@see Pathname#children... -
Object
# private _ methods(include _ inherited = true) -> [Symbol] (12307.0) -
そのオブジェクトが理解できる private メソッド名の一覧を返します。
...が理解できる private メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#private_instance_methods,Object#methods,Object#singleton_methods... -
Object
# public _ methods(include _ inherited = true) -> [Symbol] (12307.0) -
そのオブジェクトが理解できる public メソッド名の一覧を返します。
...が理解できる public メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#public_instance_methods,Object#methods,Object#singleton_methods...