ライブラリ
- ビルトイン (1)
- mkmf (3)
- pathname (5)
- rss (27)
-
rubygems
/ installer (1) - shell (5)
-
shell
/ command-processor (5) -
shell
/ filter (5) - un (1)
クラス
-
File
:: Stat (1) -
Gem
:: Installer (1) - Pathname (5)
-
RDoc
:: Options (1) -
RSS
:: Maker :: ChannelBase (2) -
RSS
:: Maker :: ItemsBase :: ItemBase (2) -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid (2) -
RSS
:: Maker :: TextinputBase (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Image (2) -
RSS
:: RDF :: Item (2) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss :: Channel (2) -
RSS
:: Rss :: Channel :: Image (2) -
RSS
:: Rss :: Channel :: Item (2) -
RSS
:: Rss :: Channel :: Item :: Guid (1) -
RSS
:: Rss :: Channel :: TextInput (2) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (2) - Shell (5)
-
Shell
:: CommandProcessor (5) -
Shell
:: Filter (5)
モジュール
- Kernel (4)
キーワード
- cleanpath (1)
-
generate
_ bin _ symlink (1) -
hyperlink
_ all= (1) - isPermaLink (2)
- isPermaLink= (1)
- link= (11)
-
link
_ command (1) - ln (1)
-
make
_ link (1) -
make
_ symlink (1) - readlink (4)
- symlink (3)
- symlink? (5)
-
taxo
_ link (1) -
taxo
_ link= (1) -
try
_ link (2) - unlink (3)
検索結果
先頭5件
-
Shell
# link(old , new) -> 0 (54379.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new ファイル名を表す文字列を指定します。
@see File.link -
Shell
:: CommandProcessor # link(old , new) -> 0 (54379.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new ファイル名を表す文字列を指定します。
@see File.link -
Shell
:: Filter # link(old , new) -> 0 (54379.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new ファイル名を表す文字列を指定します。
@see File.link -
RSS
:: Maker :: ChannelBase # link (54358.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # link (54358.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # link (54358.0) -
@todo
@todo -
RSS
:: RDF :: Channel # link (54358.0) -
@todo
@todo -
RSS
:: RDF :: Image # link (54358.0) -
@todo
@todo -
RSS
:: RDF :: Item # link (54358.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # link (54358.0) -
@todo
@todo -
RSS
:: Rss :: Channel # link (54358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # link (54358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # link (54358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # link (54358.0) -
@todo
@todo -
Pathname
# make _ link(old) -> 0 (18391.0) -
File.link(old, self.to_s) と同じです。
File.link(old, self.to_s) と同じです。
@see File.link -
Kernel
# link _ command(ldflags , opt = "" , libpath = $ DEFLIBPATH| $ LIBPATH) -> String (18379.0) -
実際にリンクする際に使用するコマンドを返します。
実際にリンクする際に使用するコマンドを返します。
@param ldflags LDFLAGS に追加する値を指定します。
@param opt LIBS に追加する値を指定します。
@param libpath LIBPATH に指定する値を指定します。
@see RbConfig.expand -
Kernel
# try _ link(src , opt = "" , *options) -> bool (18364.0) -
C プログラムのソースコード src をコンパイル、リンクします。
C プログラムのソースコード src をコンパイル、リンクします。
このメソッドは $CFLAGS と $LDFLAGS の値もコンパイラまたはリ
ンカに渡します。
問題なくリンクできたら true を返します。
コンパイルとリンクに失敗したら false を返します。
@param src C プログラムのソースコードを指定します。
@param opt リンカにコマンド引数として渡す値を指定します。
例:
require 'mkmf'
if try_link("int main() { sin(0.0); }", '-lm')
$stderr.puts "si... -
Kernel
# try _ link(src , opt = "" , *options) { . . . } -> bool (18364.0) -
C プログラムのソースコード src をコンパイル、リンクします。
C プログラムのソースコード src をコンパイル、リンクします。
このメソッドは $CFLAGS と $LDFLAGS の値もコンパイラまたはリ
ンカに渡します。
問題なくリンクできたら true を返します。
コンパイルとリンクに失敗したら false を返します。
@param src C プログラムのソースコードを指定します。
@param opt リンカにコマンド引数として渡す値を指定します。
例:
require 'mkmf'
if try_link("int main() { sin(0.0); }", '-lm')
$stderr.puts "si... -
RSS
:: Maker :: ChannelBase # link=() (18358.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # link=() (18358.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # link=() (18358.0) -
@todo
@todo -
RSS
:: RDF :: Channel # link= (18358.0) -
@todo
@todo -
RSS
:: RDF :: Image # link= (18358.0) -
@todo
@todo -
RSS
:: RDF :: Item # link= (18358.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # link= (18358.0) -
@todo
@todo -
RSS
:: Rss :: Channel # link= (18358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # link= (18358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # link= (18358.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # link= (18358.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link (18358.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # taxo _ link= (18358.0) -
@todo
@todo -
Shell
# symlink(old , new) -> 0 (18358.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
Shell
:: CommandProcessor # symlink(old , new) -> 0 (18358.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
Shell
:: Filter # symlink(old , new) -> 0 (18358.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid # isPermaLink (18352.0) -
@todo
@todo -
RSS
:: Maker :: RSS20 :: Items :: Item :: Guid # isPermaLink=() (18352.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Guid # isPermaLink (18352.0) -
@todo
@todo
* http://purl.org/dc/elements/1.1/ -
Gem
:: Installer # generate _ bin _ symlink(filename , bindir) (18340.0) -
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
Gem に入っているアプリケーションを実行するためのシンボリックリンクを作成します。
現在インストールされている Gem よりも新しい Gem をインストールするときは、
シンボリックリンクを更新します。
@param filename ファイル名を指定します。
@param bindir 実行ファイルを配置するディレクトリを指定します。 -
Shell
# readlink(path) -> String (18340.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink -
Shell
# symlink?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
# unlink(path) -> self (18340.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink -
Shell
:: CommandProcessor # readlink(path) -> String (18340.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink -
Shell
:: CommandProcessor # symlink?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
:: CommandProcessor # unlink(path) -> self (18340.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink -
Shell
:: Filter # readlink(path) -> String (18340.0) -
File クラスにある同名のクラスメソッドと同じです.
File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink -
Shell
:: Filter # symlink?(file) -> bool (18340.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink? -
Shell
:: Filter # unlink(path) -> self (18340.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink -
File
:: Stat # symlink? -> false (18322.0) -
シンボリックリンクである時に真を返します。 ただし、File::Statは自動的にシンボリックリンクをたどっていくので 常にfalseを返します。
シンボリックリンクである時に真を返します。
ただし、File::Statは自動的にシンボリックリンクをたどっていくので
常にfalseを返します。
//emlist[][ruby]{
require 'fileutils'
outfile = $0 + ".ln"
FileUtils.ln_s($0, outfile)
p File::Stat.new(outfile).symlink? #=> false
p File.lstat(outfile).symlink? #=> true
p FileTest.symlink?(outfile) #=> true
//}
... -
Pathname
# make _ symlink(old) -> 0 (18322.0) -
File.symlink(old, self.to_s) と同じです。
File.symlink(old, self.to_s) と同じです。
@see File.symlink -
Pathname
# readlink -> Pathname (18322.0) -
Pathname.new(File.readlink(self.to_s)) と同じです。
Pathname.new(File.readlink(self.to_s)) と同じです。
@see File.readlink -
Pathname
# symlink? -> bool (18322.0) -
FileTest.symlink?(self.to_s) と同じです。
FileTest.symlink?(self.to_s) と同じです。
@see FileTest.#symlink? -
RDoc
:: Options # hyperlink _ all=(val) (18322.0) -
val に true を指定した場合、コマンドライン引数の --hyperlink-all オプショ ンと同様の指定を行います。
val に true を指定した場合、コマンドライン引数の --hyperlink-all オプショ
ンと同様の指定を行います。
@param val --hyperlink-all オプションと同じ指定を行う場合は true、そう
でない場合は false を指定します。 -
Pathname
# cleanpath(consider _ symlink = false) -> Pathname (322.0) -
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
余計な "."、".." や "/" を取り除いた新しい Pathname オブジェクトを返します。
cleanpath は、実際にファイルシステムを参照することなく、文字列操作
だけで処理を行います。
@param consider_symlink 真ならパス要素にシンボリックリンクがあった場合
にも問題ないように .. を残します。
//emlist[例][ruby]{
require "pathname"
path = Pathname.new("//.././../")
path # => #<Pa... -
Kernel
# ln -> () (58.0) -
ファイルへのリンクを作成します。
ファイルへのリンクを作成します。
ruby -run -e ln -- [OPTION] TARGET LINK_NAME
-s ハードリンクの代わりにシンボリックリンクを作成します
-f LINK_NAME を上書きします
-v 詳細表示
@see ln(1)