ライブラリ
- ビルトイン (94)
-
net
/ ftp (40) - pathname (1346)
- shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- File (72)
-
Net
:: FTP (30) -
Net
:: FTP :: MLSxEntry (10) - Pathname (1322)
-
RDoc
:: Options (24) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
-
File
:: Constants (12) - Kernel (12)
-
RubyVM
:: AbstractSyntaxTree (10)
キーワード
- + (12)
-
/ (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- == (12)
- === (12)
-
FNM
_ PATHNAME (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (9) -
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) - Ruby用語集 (12)
-
SEPARATOR
_ PAT (12) -
TO
_ PATH (12) - absolute? (12)
- ascend (24)
- atime (12)
- basename (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
- chardev? (12)
- children (12)
- chmod (12)
- chown (12)
- cleanpath (12)
- ctime (12)
- delete (12)
- descend (24)
- directory? (12)
- dirname (12)
-
each
_ child (24) -
each
_ entry (15) -
each
_ filename (12) -
each
_ line (24) - empty? (9)
- entries (12)
- eql? (12)
- executable? (12)
-
executable
_ real? (12) - exist? (12)
- extname (12)
- file? (12)
- find (24)
- fnmatch (24)
- fnmatch? (24)
- ftype (12)
- getwd (12)
- glob (40)
- grpowned? (12)
- hash (12)
- join (12)
- lchmod (12)
- lchown (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) - mkdir (12)
- mkpath (12)
- mlsd (20)
- mlst (10)
- mountpoint? (12)
- mtime (12)
- new (12)
- open (24)
- opendir (24)
- owned? (12)
-
page
_ dir (12) - parent (12)
-
parse
_ file (10) - path (12)
- pathname (22)
- pipe? (12)
- pwd (12)
-
rdoc
/ generator / json _ index (12) - read (12)
- readable? (12)
-
readable
_ real? (12) - readlines (12)
- readlink (12)
- realdirpath (24)
- realpath (36)
- relative? (12)
-
relative
_ path _ from (12) - rename (12)
- rmdir (12)
- rmtree (12)
- root (12)
- root? (12)
-
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) - setgid? (12)
- setuid? (12)
- size (12)
- size? (12)
- socket? (12)
- split (42)
- stat (12)
- sticky? (12)
- sub (24)
-
sub
_ ext (12) - symlink? (12)
- sysopen (12)
-
to
_ path (12) -
to
_ s (12) - truncate (12)
- unlink (12)
- utime (12)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) - write (12)
- zero? (12)
検索結果
先頭5件
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12.0) -
1.6.8から1.8.0への変更点(まとめ) * ((<1.6.8から1.8.0への変更点(まとめ)/インタプリタの変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたクラス/モジュール>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加されたメソッド>)) * ((<1.6.8から1.8.0への変更点(まとめ)/追加された定数>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張されたクラス/メソッド(互換性のある変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/変更されたクラス/メソッド(互換性のない変更)>)) * ((<1.6.8から1.8.0への変更点(まとめ)/文法の変更>)) * ((<1.6.8から1.8.0への変更点(まとめ)/正規表現>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Marshal>)) * ((<1.6.8から1.8.0への変更点(まとめ)/Windows 対応>)) * ((<1.6.8から1.8.0への変更点(まとめ)/廃止された(される予定の)機能>)) * ((<1.6.8から1.8.0への変更点(まとめ)/ライブラリ>)) * ((<1.6.8から1.8.0への変更点(まとめ)/拡張ライブラリAPI>)) * ((<1.6.8から1.8.0への変更点(まとめ)/バグ修正>)) * ((<1.6.8から1.8.0への変更点(まとめ)/サポートプラットフォームの追加>))
...: ((<File/File.fnmatch>)) [new]
: ((<File/File.fnmatch?>)) [new]
追加
このメソッドで使用するフラグ FNM_NOESCAPE, FNM_PATHNAME, FNM_PERIOD,
FNM_CASEFOLD も((<File::Constants>)) モジュールに定義されました。
: ((<File/File.lchmod>)) [new]
: ((<File/Fil......[lib] [new]
追加
: ((<mkmf>)) [lib] [new]
新しい判定メソッド have_type(), check_sizeof() が追加されました。
: ((<pathname>)) [lib] [new]
追加
: ((<resolv>)) [lib] [compat]
Win32 に対応しました。
: ((<webrick>)) [lib] [new]
追... -
File
. path(filename) -> String (12.0) -
指定されたファイル名を文字列で返します。filename が文字列でない場合は、to_path メソッドを呼びます。
...を指定します。
//emlist[例][ruby]{
require 'pathname'
class MyPath
def initialize(path)
@path = path
end
def to_path
File.absolute_path(@path)
end
end
File.path("/dev/null") # => "/dev/null"
File.path(Pathname("/tmp")) # => "/tmp"
File.path(MyPath.new("."))... -
NEWS for Ruby 2
. 0 . 0 (12.0) -
NEWS for Ruby 2.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...: OpenStruct#to_h
* 拡張: OpenStruct.new OpenStruct/Struct のインスタンスを受け付けるようになりました
* pathname
* 拡張: Pathname#find ブロックを与えない場合 Enumerator を返すようになりました
* rake
* 0.9.5 に更新
* This versi... -
NEWS for Ruby 2
. 5 . 0 (12.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ョンを2.0から2.1に更新しました。変更内容はext/openssl/History.mdの"Version 2.1.0"セクションにあります。
* pathname
* Pathname#glob を追加 7360
* psych
* Psych 3.0.2 に更新しました
* Convert fallback option to a keyword argument
http... -
NEWS for Ruby 3
. 0 . 0 (12.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ng with `!`.
* Ractor compatible.
* Improved support for YAML. 8382
* Use officially discouraged. Read OpenStruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline
* Update to Reline 0.1.5......ef
* The following extensions are promoted to default gems from stdlib.
* digest
* io-nonblock
* io-wait
* nkf
* pathname
* syslog
* win32ole
* Bundled gems
* net-telnet and xmlrpc have been removed from the bundled gems. If you are interested in m... -
ruby 1
. 8 . 3 feature (12.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...:1:in `join': can't convert Fixnum into String (TypeError)
from -e:1
=== 2005-09-16
: File.extname [ruby] [compat]
与えられた pathname がピリオドで終る場合、ピリオドではなく空の文字列を返すようになりました。
$ ruby-1.8.2 -e 'p File.extnam.......3 -e 'class << "str"; self end.dup'
-e:1:in `initialize_copy': can't copy singleton class (TypeError)
from -e:1
=== 2005-05-15
: Pathname#unlink [lib] [compat]
ディレクトリへのシンボリックリンクも削除されるようになりました。((<ruby-core:4992>))
==... -
ruby 1
. 8 . 5 feature (12.0) -
ruby 1.8.5 feature ruby 1.8.4 から ruby 1.8.5 までの変更点です。
...snapshot.tar.gz>))
=== 2006-06-18
: BasicSocket#recv_nonblock [new]
: UDPSocket#recvfrom_nonblock [new]
追加
=== 2006-06-17
: Pathname(path) [new]
pathname で追加
: Kernel#pretty_inspect [new]
pp で追加
: RSS::TaxonomyTopicModel [new]
: RSS::TaxonomyTopicsModel [new]
: RSS::Ma... -
NEWS for Ruby 3
. 1 . 0 (6.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...* net-http 0.2.0
* net-protocol 0.1.2
* nkf 0.1.1
* open-uri 0.2.0
* openssl 3.0.0
* optparse 0.2.0
* ostruct 0.5.2
* pathname 0.2.0
* pp 0.3.0
* prettyprint 0.1.1
* psych 4.0.3
* racc 1.6.0
* rdoc 6.4.0
* readline 0.0.3
* readline-ext 0.1.4... -
Ruby用語集 (6.0)
-
Ruby用語集 A B C D E F G I J M N O R S Y
...する
文字としては特別扱いされない。
ただしパス名には使えず、ヌル文字を含んだ文字列を File.open や
Pathname.new に与えると ArgumentError が発生する。
他の言語では文字列の終端を意味することがあるので、文字列デ... -
rdoc
/ generator / json _ index (6.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
...一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options
# ...
@base_dir = Pathname.pwd.expand_path
@json_index = RDoc::Generator::JsonIndex.new self, options
end
def generate
# ...
@json_index.generate...