915件ヒット
[1-100件を表示]
(0.051秒)
ライブラリ
- fileutils (402)
- rake (44)
-
rake
/ testtask (11) -
rubygems
/ commands / which _ command (11) -
rubygems
/ config _ file (33) - shell (18)
-
shell
/ command-processor (18) -
shell
/ filter (18)
クラス
-
Gem
:: ConfigFile (33) - Shell (18)
-
Shell
:: CommandProcessor (18) -
Shell
:: Filter (18)
モジュール
- FileUtils (380)
- RakeFileUtils (33)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - FileUtils (11)
-
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - RakeFileUtils (11)
- TestTask (11)
- Verbose (11)
- WhichCommand (11)
- [] (18)
- cd (22)
- chdir (22)
- chmod (11)
-
chmod
_ R (11) - chown (11)
-
chown
_ R (11) - copy (11)
- cp (11)
-
cp
_ lr (6) -
cp
_ r (11) - foreach (18)
- install (11)
- irb (11)
- link (11)
- ln (11)
-
ln
_ s (11) -
ln
_ sf (11) - makedirs (11)
- mkdir (11)
-
mkdir
_ p (11) - mkpath (11)
- move (11)
- mv (11)
- rake (11)
- rdoc (11)
-
really
_ verbose (11) - remove (11)
- rm (11)
-
rm
_ f (11) -
rm
_ r (11) -
rm
_ rf (11) - rmdir (11)
- rmtree (11)
-
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
rubygems
/ commands / build _ command (11) -
rubygems
/ commands / cert _ command (11) -
rubygems
/ commands / check _ command (11) -
rubygems
/ commands / cleanup _ command (11) -
rubygems
/ commands / contents _ command (11) -
rubygems
/ commands / dependency _ command (11) -
rubygems
/ commands / environment _ command (11) -
rubygems
/ commands / fetch _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / help _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / lock _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / outdated _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / rdoc _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / server _ command (11) -
rubygems
/ commands / sources _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
rubygems
/ commands / unpack _ command (11) -
safe
_ unlink (11) - symlink (11)
- test (18)
-
test
/ unit (1) - touch (11)
- verbose= (11)
-
verbose
_ flag (11) -
verbose
_ flag= (11)
検索結果
先頭5件
-
RakeFileUtils
# verbose(value = nil) { . . . } (21119.0) -
詳細を出力するかどうかを制御します。
...ます。
@param value 真を指定すると詳細を出力します。
例
verbose # 現在の状態を返します。
verbose(v) # 与えられた状態に変更します。
verbose(v) { code } # ブロックを評価する間だけ与えられた状態に変... -
Gem
:: ConfigFile # verbose -> bool | Symbol (21107.0) -
ログの出力レベルを返します。
...ログの出力レベルを返します。
@see Gem::ConfigFile#verbose=... -
Gem
:: ConfigFile # verbose=(verbose _ level) (9208.0) -
ログの出力レベルをセットします。
...セットします。
以下の出力レベルを設定することができます。
: false
何も出力しません。
: true
通常のログを出力します。
: :loud
より多くのログを出力します。
@param verbose_level 真偽値またはシンボルを指定します。... -
RakeFileUtils
. verbose _ flag=(flag) (9143.0) -
詳細を表示するかどうか設定します。
...ます。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task
file :sample_file_task do |t|
# --verbose で rake を実行する
p RakeFileUtils.verbose_flag # => true
RakeFileUtils.verbose_flag = false
p RakeFileUtils.verbose_flag # => false
end
//}... -
RakeFileUtils
. verbose _ flag -> bool (9131.0) -
この値が真の場合、詳細を表示します。
...この値が真の場合、詳細を表示します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task
file :sample_file_task do |t|
# --verbose で rake を実行する
RakeFileUtils.verbose_flag # => true
end
//}... -
Gem
:: ConfigFile # really _ verbose -> bool (9117.0) -
このメソッドの返り値が真の場合は verbose モードよりも多くの情報を表示します。
...このメソッドの返り値が真の場合は verbose モードよりも多くの情報を表示します。... -
FileUtils
:: Verbose (9000.0) -
FileUtils と同じメソッドが定義されており全く同じ動作をしますが、 しようとしていることを実行前に表示します。
...FileUtils と同じメソッドが定義されており全く同じ動作をしますが、
しようとしていることを実行前に表示します。... -
FileUtils (6006.0)
-
基本的なファイル操作を集めたモジュールです。
...いません。
: :preserve
真を指定すると更新時刻と、可能なら所有ユーザ・所有グループもコピーします。
: :verbose
真を指定すると詳細を出力します。
: :mode
パーミッションを8進数で指定します。
: :force
真を指定すると......ion
真を指定するとコピーを実行する前にコピー先を削除します。
: :secure
真を指定するとファイルの削除に FileUtils.#remove_entry_secure を使用します。
: :mtime
時刻を Time か、起算時からの経過秒数を数値で指定します。
: :pa... -
RakeFileUtils (6006.0)
-
カスタムバージョンの FileUtils のメソッドを提供します。
...カスタムバージョンの FileUtils のメソッドを提供します。
FileUtils で定義されているメソッドのうち、:verbose, :noop の二つの
オプションのいずれかに反応するメソッドの動作を変更します。
このモジュールはトップレベルで......インクルードされます。
その際、FileUtils, RakeFileUtils に定義されているメソッドの
可視性はプライベートに変更されます。
@see FileUtils... -
FileUtils
. # cp _ lr(src , dest , noop: nil , verbose: nil , dereference _ root: true , remove _ destination: false) (3113.0) -
src へのハードリンク dest を作成します。 src がディレクトリの場合、再帰的にリンクします。 dest がディレクトリの場合、src へのハードリンク dest/src を作成します。
...@param dest リンク作成先のファイルかディレクトリです。
@param options :noop, :verbose, :dereference_root, :remove_destination が指定できます。
c:FileUtils#options
@raise ArgumentError dest が src に含まれる場合に発生します。
@raise Errno......quire 'fileutils'
FileUtils.rm_r site_ruby + '/mylib', force: true
FileUtils.cp_lr 'lib/', site_ruby + '/mylib'
//}
//emlist[様々なファイルを対象ディレクトリにリンクする例][ruby]{
require 'fileutils'
FileUtils.cp_lr %w(mail.rb field.rb debug/), site_ruby + '/tmail'
FileUtils.......oop: true, verbose: true
//}
//emlist[内容をリンクする例][ruby]{
require 'fileutils'
# ディレクトリそのものではなく、ディレクトリの内容をリンクしたい場合は、
# 以下のようになります。(たとえば src/x -> dest/x, src/y -> dest/y)
FileUtils.cp_l...