1313件ヒット
[1-100件を表示]
(0.095秒)
別のキーワード
ライブラリ
- ビルトイン (125)
-
cgi
/ html (72) - csv (144)
- date (12)
- logger (12)
- mkmf (24)
-
net
/ http (24) -
net
/ imap (12) - openssl (12)
- ostruct (12)
- pathname (96)
- prime (36)
- psych (24)
- pty (12)
-
rdoc
/ code _ object (12) -
rexml
/ document (396) -
rexml
/ parsers / pullparser (12) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
rubygems
/ builder (24) -
rubygems
/ commands / build _ command (60) -
rubygems
/ config _ file (12) -
rubygems
/ old _ format (36) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (12) - tsort (12)
- uri (60)
-
webrick
/ httpresponse (12)
クラス
- CSV (24)
-
CSV
:: FieldInfo (36) -
CSV
:: Row (84) - Date (12)
- Dir (21)
-
Enumerator
:: Yielder (30) -
File
:: Stat (24) -
Gem
:: Builder (24) -
Gem
:: Commands :: BuildCommand (60) -
Gem
:: ConfigFile (12) -
Gem
:: OldFormat (36) - Integer (3)
- Logger (12)
-
Net
:: IMAP :: ThreadMember (12) - Object (16)
-
OpenSSL
:: X509 :: Name (12) - OpenStruct (12)
-
PTY
:: ChildExited (12) - Pathname (96)
-
Prime
:: TrialDivisionGenerator (36) - Proc (12)
-
Psych
:: Nodes :: Node (12) -
Psych
:: TreeBuilder (12) -
RDoc
:: CodeObject (12) -
REXML
:: Child (72) -
REXML
:: DocType (12) -
REXML
:: Document (36) -
REXML
:: Parent (132) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: XMLDecl (144) - Regexp (12)
-
RubyVM
:: AbstractSyntaxTree :: Node (7) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (12) -
URI
:: LDAP (60) -
WEBrick
:: HTTPResponse (12)
モジュール
-
CGI
:: HtmlExtension (72) - Kernel (24)
-
Net
:: HTTPHeader (24) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12) - TSort (12)
キーワード
- << (24)
- == (12)
- [] (24)
- add (24)
-
add
_ field (12) - arguments (12)
- attributes (12)
- build (12)
-
bulk
_ threshold (12) - casefold? (12)
- ceildiv (3)
- children (62)
- clone (12)
- delete (12)
-
delete
_ at (12) -
delete
_ field (12) -
delete
_ if (12) -
dir
_ config (12) - dn (12)
- document (12)
-
document
_ children (12) - dowrite (12)
- each (12)
-
each
_ child (62) - encoding (12)
- execute (12)
- extensions (12)
- field (12)
- field? (12)
-
field
_ row? (12) -
field
_ size _ limit (12) - fields (12)
-
file
_ entries (12) -
file
_ field (24) - filter (12)
-
gem
_ path (12) -
get
_ fields (12) -
hash
_ old (12) - header (12)
- index (24)
-
insert
_ after (12) -
insert
_ before (12) - line (12)
- link (18)
-
link
_ command (12) -
load
_ gemspecs (12) -
make
_ link (12) -
make
_ symlink (12) - next (12)
-
next
_ sibling (12) -
node
_ type (12) - nowrite (12)
- parent (12)
-
password
_ field (24) -
previous
_ sibling (12) - realdirpath (12)
- remove (12)
-
replace
_ child (12) -
replace
_ with (12) - rewind (12)
- root (12)
- scope (12)
-
sev
_ threshold (12) - spec (12)
-
stand
_ alone? (12) - standalone (12)
- status (12)
- succ (12)
- success (12)
- symlink (18)
-
text
_ field (24) -
to
_ a (12) -
to
_ proc (6) -
tsort
_ each _ child (12) -
unconverted
_ fields? (12) - usage (12)
-
values
_ at (12) - version (12)
-
world
_ readable? (24) -
world
_ writable? (24) - writeencoding (12)
- writethis (12)
-
xml
_ decl (12) - xmldecl (36)
- xmldecl? (12)
- yaml? (12)
- yield (24)
-
yield
_ self (16)
検索結果
先頭5件
-
Date
# ld -> Integer (18202.0) -
リリウス日を返します。
リリウス日を返します。 -
Enumerator
:: Yielder # yield(*object) -> () (9201.0) -
Enumerator.new で使うメソッドです。
...ブジェクトの each メソッドを呼ぶと
Enumerator::Yielder オブジェクトが渡されたブロックが実行され、
ブロック内の yield メソッドが呼ばれるたびに each に渡された
ブロックが yield メソッドに渡された値とともに繰り返されま......す。
//emlist[例][ruby]{
enum = Enumerator.new do |y|
y.yield 1, 2, 3
end
enum.each do |x, y, z|
p [x, y, z]
end
# => [1, 2, 3]
//}... -
Gem
:: Builder # build -> String (9201.0) -
スペックから Gem を作成する。
スペックから Gem を作成する。
@return 作成したファイル名を返します。 -
REXML
:: XMLDecl # xmldecl(version , encoding , standalone) -> () (9201.0) -
内容を更新します。
内容を更新します。
@param version バージョン(文字列)
@param encoding エンコーディング(文字列 or nil)
@param standalone スタンドアロン文章かどうか("yes", "no", nil) -
REXML
:: Parent # children -> [REXML :: Child] (6301.0) -
子ノード列の配列を返します。
子ノード列の配列を返します。 -
TSort
# tsort _ each _ child(node) {|child| . . . } -> () (6301.0) -
TSort で拡張されるクラスで定義されていなければならないメソッドです。
...TSort で拡張されるクラスで定義されていなければならないメソッドです。
tsort_each_child is used to iterate for child nodes of node.
@param node ノードを指定します。
@raise NotImplementedError TSort で拡張されるクラスで定義されていない場... -
Pathname
# each _ child(with _ directory = true) -> Enumerator (6297.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>
# =>......#<Pathname:include>
# => #<Pathname:lib>
# => #<Pathname:opt>
# => #<Pathname:sbin>
# => #<Pathname:share>
# => #<Pathname:var>
//}
@see Pathname#children... -
Pathname
# each _ child(with _ directory = true) {|pathname| . . . } -> [Pathname] (6297.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>
# =>......#<Pathname:include>
# => #<Pathname:lib>
# => #<Pathname:opt>
# => #<Pathname:sbin>
# => #<Pathname:share>
# => #<Pathname:var>
//}
@see Pathname#children... -
Pathname
# realdirpath(basedir = nil) -> Pathname (6207.0) -
Pathname#realpath とほぼ同じで、最後のコンポーネントは実際に 存在しなくてもエラーになりません。
...thname("/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 Pat...