別のキーワード
ライブラリ
- ビルトイン (108)
- etc (252)
- fileutils (48)
- mkmf (24)
-
win32
/ registry (84)
クラス
- File (84)
-
RDoc
:: Options (24)
モジュール
- Etc (252)
- FileTest (24)
- FileUtils (48)
- Kernel (24)
-
Win32
:: Registry :: Constants (84)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
NEWS for Ruby 2
. 5 . 0 (8) -
PC
_ 2 _ SYMLINKS (12) -
PC
_ ALLOC _ SIZE _ MIN (12) -
PC
_ ASYNC _ IO (12) -
PC
_ CHOWN _ RESTRICTED (12) -
PC
_ FILESIZEBITS (12) -
PC
_ LINK _ MAX (12) -
PC
_ MAX _ CANON (12) -
PC
_ MAX _ INPUT (12) -
PC
_ NAME _ MAX (12) -
PC
_ NO _ TRUNC (12) -
PC
_ PATH _ MAX (12) -
PC
_ PIPE _ BUF (12) -
PC
_ PRIO _ IO (12) -
PC
_ REC _ INCR _ XFER _ SIZE (12) -
PC
_ REC _ MAX _ XFER _ SIZE (12) -
PC
_ REC _ MIN _ XFER _ SIZE (12) -
PC
_ REC _ XFER _ ALIGN (12) -
PC
_ SYMLINK _ MAX (12) -
PC
_ SYNC _ IO (12) -
PC
_ TIMESTAMP _ RESOLUTION (12) -
PC
_ VDISABLE (12) -
REG
_ LEGAL _ OPTION (12) -
REG
_ OPTION _ BACKUP _ RESTORE (12) -
REG
_ OPTION _ CREATE _ LINK (12) -
REG
_ OPTION _ NON _ VOLATILE (12) -
REG
_ OPTION _ OPEN _ LINK (12) -
REG
_ OPTION _ RESERVED (12) -
REG
_ OPTION _ VOLATILE (12) -
hyperlink
_ all (12) -
hyperlink
_ all= (12) - identical? (12)
- lchmod (12)
- lchown (12)
- ln (12)
- lstat (12)
- readlink (12)
- rss (12)
-
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
safe
_ unlink (12) - symlink (12)
- symlink? (24)
-
try
_ link (24) - unlink (12)
検索結果
先頭5件
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (216.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::Constants>))
File::Constants は、File クラスでなく IO クラスが include するように
なりました。((<ruby-dev:20964>))
: ((<UnboundMethod>)) [compat]
UnboundMethod クラスは Method......ror < NameError < StandardError.
: ((<Interrupt>)) [change]
Interrupt は、((<SignalException>))のサブクラスになりました。
(1.6以前はExceptionのサブクラス)
== 追加されたメソッド
=== 組み込み関数
: ((<組み込み関数/warn>)) [new]......=> ruby 1.7.1 (2001-10-19) [i586-linux]
#<C a=nil>
== Windows 対応
: ((<File/File.link>)) [new]
Win32(Win2k以降のみ)でNTFS上でのハードリンクの作成(CreateHardLink)に
対応しました。
: ((<File/File.utime>)) [new]
Win32(NT系のみ)でディレクト... -
rss (198.0)
-
RSS を扱うためのライブラリです。
...参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, Atom 1.0 をサポートしていますが,RSS 0.90......ュールはそれぞれ、
* Dublin Core モジュール http://web.resource.org/rss/1.0/modules/dc/
* Syndication モジュール http://web.resource.org/rss/1.0/modules/syndication/
* Content モジュール http://web.resource.org/rss/1.0/modules/content/
* Trackback モジュール http://......o |maker|
maker.channel.about = "http://example.com/index.rdf"
maker.channel.title = "Example"
maker.channel.description = "Example Site"
maker.channel.link = "http://example.com/"
end
もし,
* http://example.com/article.htmlにある
* Sample Articleというタイトル... -
ruby 1
. 8 . 4 feature (78.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
.../File.join [bug]>))
* ((<ruby 1.8.4 feature/Thread#pass [bug]>))
* ((<ruby 1.8.4 feature/Module#const_missing [bug]>))
* ((<ruby 1.8.4 feature/IO [bug]>))
* ((<ruby 1.8.4 feature/添付ライブラリ>))
* ((<ruby 1.8.4 feature/"Ruby/Tk">))
* ((<ruby 1.8.4 feature/REXML [compat]>))
* ((<......bug]>))
* ((<ruby 1.8.4 feature/IA64 [bug]>))
== Ruby本体
: Symbol [bug]
# * parse.y (dsym): prohibit empty symbol literal by interpolation.
# fixed: [ruby-talk:166529]
式展開で空のSymbolを作ることができたバグの修正。 ((<ruby-talk:166529>))
p :......5 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * lib/find.rb (Find::find): should not ignore symbolic links to
# non-existing files. [ruby-talk:165866]
broken symbolic link(存在しないファイルに対するシンボリックリン
ク)も返すようになりました... -
NEWS for Ruby 2
. 5 . 0 (42.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...非推奨になりました。C拡張のベースクラスでしたが、Rubyレベルに公開するのをやめました。3072
* Exception
* Exception#full_message を追加 14141 [実験的]
例外の文字列表現を取得します。その文字列は捕捉されない例外をRu......ンを指定するとテキストモードになります 13350
* File#path はFile::Constants::TMPFILE付きで開いたファイルに対して IOError を発生させます
13568
* File.stat, File.exist? など rb_stat() を使用しているメソッドではGVLを解放するよ......ble?, File.writable_real?,
File.executable?, File.executable_real?, File.mkfifo, File.readlink,
File.truncate, File#truncate, File.chmod, File.lchmod, File.chown,
File.lchown, File.unlink, File.utime, File.lstat はGVLを解放するようになりました
* File.lutime を追... -
File
. lstat(filename) -> File :: Stat (24.0) -
File.statと同様ですが、シンボリックリンクに関してリンクそのものの 情報を File::Stat として返します。lstat(2) を実装していないシステムでは、File.stat と同じです。
...ます。
@raise Errno::EXXX 情報の取得に失敗した場合に発生します。
//emlist[例][ruby]{
# link.rb は t.rb のシンボリックリンク
File.lstat("link.rb") == File.stat("t.rb") # => false
File.stat("link.rb") == File.stat("t.rb") # => true
//}
@see IO#stat, File#lstat... -
FileTest
. # identical?(file1 , file2) -> bool (24.0) -
file1 と file2 が同じファイルを指している時に真を返します。 そうでない場合、ファイルが存在しない場合、あるいはシステムコールに失敗した場合などには false を返します。
..."./a") #=> true
File.link("a", "b")
p File.identical?("a", "b") #=> true
File.symlink("a", "c")
p File.identical?("a", "c") #=> true
open("d", "w") {}
p File.identical?("a", "d") #=> false
@param file1 ファイル名を表す文字列か IO オブジェクトを指......定します。
@param file2 ファイル名を表す文字列か IO オブジェクトを指定します。
@raise IOError 指定された IO オブジェクト file1, file2 が既に close されていた場合に発生します。... -
ruby 1
. 8 . 5 feature (24.0) -
ruby 1.8.5 feature ruby 1.8.4 から ruby 1.8.5 までの変更点です。
...s10 = RSS::Parser.parse(File.read("1.0.rdf"))
File.open("2.0.rss", "w") {|f| f.print(rss10.to_xml("2.0"))}
((<ruby-talk:197284>))
: RSS::VERSION
"0.1.5"から"0.1.6"になりました。
=== 2006-06-14
: Process.getrlimit(resource) [new]
: Process.setrlimit(resource, limit) [new]
: Pro......Process::RLIMIT_MEMLOCK
: Process::RLIMIT_NPROC
: Process::RLIMIT_RSS
: Process::RLIMIT_SBSIZE
追加 ((<ruby-dev:28729>))
=== 2006-06-11
: OptionParser#getopts [new]
: tempfile の生成するテンポラリファイルの名前が <basename><pid>.<count> から <basename>.<pid>.<count> に......re:7925>))
=== 2006-05-22
: IO#read_nonblock [new]
: IO#write_nonblock [new]
: Socket#connect_nonblock [new]
: Socket#accept_nonblock [new]
: Socket#recvfrom_nonblock [new]
((<ruby-core:7917>))
=== 2006-02-21
: File#link [bug]
mswin32版・mingw32版でFile#linkが動かなくなってい... -
File
. lchmod(mode , *filename) -> Integer (12.0) -
File.chmod と同様ですが、シンボリックリンクに関してリンクそのものの モードを変更します。
...生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.lstat("testlink").ftype # => "link"
File.lchmod(0744, "testlink")
File.stat("testlink").mode.to_s(8) # => "100644"
File.lstat("testlink").mode.to_s(8) # => "120744"
//}... -
File
. lchown(owner , group , *filename) -> Integer (12.0) -
File#chown と同様ですが、 シンボリックリンクに関してリンクそのもののオーナー、 グループを変更します。
...発生します。
//emlist[例][ruby]{
IO.write("testfile", "test")
File.symlink("testfile", "testlink")
File.chown(501, -1, "testfile")
File.lstat("testlink").ftype # => "link"
File.lchown(0, -1, "testlink")
File.stat("testlink").uid # => 501
File.lstat("testlink").uid # => 0
//}...