1331件ヒット
[1-100件を表示]
(0.129秒)
ライブラリ
- ビルトイン (107)
-
cgi
/ html (72) - csv (168)
- date (12)
- mkmf (24)
-
net
/ http (24) -
net
/ imap (12) - openssl (12)
- ostruct (12)
- pathname (96)
- prime (36)
- psych (12)
- pty (12)
-
rdoc
/ code _ object (12) -
rexml
/ document (276) -
rexml
/ parsers / pullparser (12) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) - rss (48)
-
rubygems
/ commands / build _ command (60) -
rubygems
/ installer (12) -
rubygems
/ old _ format (72) -
rubygems
/ require _ paths _ builder (12) - shell (12)
-
shell
/ command-processor (24) -
shell
/ filter (12) - tsort (12)
- uri (120)
-
webrick
/ httpresponse (12)
クラス
- CSV (36)
-
CSV
:: FieldInfo (60) -
CSV
:: Row (72) - Date (12)
- Dir (14)
-
Enumerator
:: Yielder (30) -
File
:: Stat (24) -
Gem
:: Commands :: BuildCommand (60) -
Gem
:: Installer (12) -
Gem
:: OldFormat (72) -
Net
:: IMAP :: ThreadMember (12) - Object (8)
-
OpenSSL
:: X509 :: Name (12) - OpenStruct (12)
-
PTY
:: ChildExited (12) - Pathname (96)
-
Prime
:: TrialDivisionGenerator (36) - Proc (12)
-
Psych
:: TreeBuilder (12) -
RDoc
:: CodeObject (12) -
REXML
:: Child (60) -
REXML
:: DocType (12) -
REXML
:: Document (12) -
REXML
:: Parent (132) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: XMLDecl (60) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: Rss :: Channel (24) - Regexp (12)
-
RubyVM
:: AbstractSyntaxTree :: Node (7) - Shell (12)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (12) -
URI
:: LDAP (120) -
WEBrick
:: HTTPResponse (12)
モジュール
-
CGI
:: HtmlExtension (72) -
Gem
:: LocalRemoteOptions (12) -
Gem
:: RequirePathsBuilder (12) - Kernel (24)
-
Net
:: HTTPHeader (24) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12) - TSort (12)
キーワード
- << (12)
- [] (12)
- []= (12)
- add (24)
-
add
_ bulk _ threshold _ option (12) -
add
_ field (12) - arguments (12)
- attributes (12)
- attributes= (12)
-
build
_ extensions (12) - casefold? (12)
- children (43)
- delete (12)
-
delete
_ at (12) -
delete
_ field (12) -
delete
_ if (12) -
dir
_ config (12) - dn (12)
- dn= (12)
-
document
_ children= (12) - each (12)
-
each
_ child (62) - execute (12)
- extensions (12)
- extensions= (12)
- field (12)
- field? (12)
-
field
_ size _ limit (12) - fields (12)
-
file
_ entries (12) -
file
_ entries= (12) -
file
_ field (24) - filter (12)
- filter= (12)
-
gem
_ path (12) -
gem
_ path= (12) -
get
_ fields (12) -
hash
_ old (12) - header (12)
- header= (12)
-
header
_ convert (24) - index (12)
- index= (12)
-
insert
_ after (12) -
insert
_ before (12) - lastBuildDate (24)
- lastBuildDate= (24)
- line (12)
- line= (12)
- link (6)
-
link
_ command (12) -
load
_ gemspecs (12) -
make
_ link (12) -
make
_ symlink (12) - next (12)
-
next
_ sibling= (12) - parent (12)
- parent= (12)
-
password
_ field (24) -
previous
_ sibling= (12) - realdirpath (12)
-
replace
_ child (12) -
replace
_ with (12) - rewind (12)
- root (12)
- scope (12)
- scope= (12)
- spec (12)
- spec= (12)
-
stand
_ alone? (12) - standalone (12)
- standalone= (12)
- status (12)
- succ (12)
- symlink (6)
-
text
_ field (24) -
to
_ a (12) -
to
_ proc (6) -
tsort
_ each _ child (12) - usage (12)
-
values
_ at (12) - version= (12)
-
world
_ readable? (42) -
world
_ writable? (42) -
write
_ require _ paths _ file _ if _ needed (12) - xmldecl (36)
- xmldecl? (12)
- yaml? (12)
- yield (24)
-
yield
_ self (8)
検索結果
先頭5件
-
Date
# ld -> Integer (21102.0) -
リリウス日を返します。
リリウス日を返します。 -
Net
:: HTTPHeader # add _ field(key , val) -> () (15243.0) -
key ヘッダフィールドに val を追加します。
...に val を追加します。
key に元々設定されていた値は破棄されず、それに val 追加されます。
@param key ヘッダフィール名を文字列で与えます。
@param val keyで指定したフィールドに追加する文字列を与えます。
@see Net::HTTPHeader#......ader#[]=,
Net::HTTPHeader#get_fields
//emlist[例][ruby]{
request.add_field 'X-My-Header', 'a'
p request['X-My-Header'] #=> "a"
p request.get_fields('X-My-Header') #=> ["a"]
request.add_field 'X-My-Header', 'b'
p request['X-My-Header'] #=> "a, b"
p request.get_field......s('X-My-Header') #=> ["a", "b"]
request.add_field 'X-My-Header', 'c'
p request['X-My-Header'] #=> "a, b, c"
p request.get_fields('X-My-Header') #=> ["a", "b", "c"]
//}... -
Pathname
# realdirpath(basedir = nil) -> Pathname (15201.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に
存在しなくてもエラーになりません。
@param basedir ベースディレクトリを指定します。省略するとカレントディレクトリになります。
//emlist[例][ruby]{
require "pathnam......e"
path = Pathname("/not_exist")
path.realdirpath # => #<Pathname:/not_exist>
path.realpath # => Errno::ENOENT
# 最後ではないコンポーネント(/not_exist_1)も存在しないのでエラーになる。
path = Pathname("/not_exist_1/not_exist_2")
path.realdirpath # => Errno::ENOENT......//}
@see Pathname#realpath... -
REXML
:: Parent # replace _ child(to _ replace , replacement) -> () (12401.0) -
子ノード列上の to_replace を replacement に置き換えます。
...子ノード列上の to_replace を replacement に置き換えます。
to_replace の parent は nil に、
replacement の parent は selfに変更されます。
@param to_replace 置き換え元のノード
@param replacement 置き換え先のノード... -
TSort
# tsort _ each _ child(node) {|child| . . . } -> () (12301.0) -
TSort で拡張されるクラスで定義されていなければならないメソッドです。
...拡張されるクラスで定義されていなければならないメソッドです。
tsort_each_child is used to iterate for child nodes of node.
@param node ノードを指定します。
@raise NotImplementedError TSort で拡張されるクラスで定義されていない場合発生し... -
CGI
:: HtmlExtension # password _ field(attributes) -> String (12201.0) -
タイプが password である input 要素を生成します。
...タイプが password である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
password_field({ "NAME" => "name", "VALUE" => "value" })
# <INPUT TYPE="password" NAME="name" VALUE="value">... -
CGI
:: HtmlExtension # password _ field(name = "" , value = nil , size = 40 , maxlength = nil) -> String (12201.0) -
タイプが password である input 要素を生成します。
...password である input 要素を生成します。
@param name name 属性の値を指定します。
@param value 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
password_field("name")......# <INPUT TYPE="password" NAME="name" SIZE="40">
password_field("name", "value")
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="40">
password_field("password", "value", 80, 200)
# <INPUT TYPE="password" NAME="name" VALUE="value" SIZE="80" MAXLENGTH="200">... -
Dir
# each _ child -> Enumerator (12201.0) -
ディレクトリの "." と ".." をのぞく各エントリを表す文字列を引数として、 ブロックを評価します。
...合、各エントリを文字列として保持する
Enumerator
オブジェクトを返します。
@raise IOError 既に self が close している場合に発生します。
//emlist[例][ruby]{
Dir.open('.').each_child{|f|
p f
}
#=> "bar"
# "foo"
//}
@see Dir#each
@see Dir.each_child... -
Dir
# each _ child {|item| . . . } -> self (12201.0) -
ディレクトリの "." と ".." をのぞく各エントリを表す文字列を引数として、 ブロックを評価します。
...合、各エントリを文字列として保持する
Enumerator
オブジェクトを返します。
@raise IOError 既に self が close している場合に発生します。
//emlist[例][ruby]{
Dir.open('.').each_child{|f|
p f
}
#=> "bar"
# "foo"
//}
@see Dir#each
@see Dir.each_child... -
File
:: Stat # world _ readable? -> Integer | nil (12201.0) -
全てのユーザから読めるならば、そのファイルのパーミッションを表す 整数を返します。そうでない場合は nil を返します。
...ミッションを表す
整数を返します。そうでない場合は nil を返します。
整数の意味はプラットフォームに依存します。
//emlist[][ruby]{
m = File.stat("/etc/passwd").world_readable? # => 420
sprintf("%o", m) # => "644"
//}...