998件ヒット
[1-100件を表示]
(0.113秒)
ライブラリ
- ビルトイン (66)
-
cgi
/ html (22) - drb (22)
- fileutils (374)
-
irb
/ context (22) - mkmf (11)
- optparse (33)
- rake (11)
-
rubygems
/ commands / which _ command (11) -
rubygems
/ config _ file (22) -
rubygems
/ user _ interaction (44) - shell (54)
-
shell
/ command-processor (24) -
shell
/ filter (30)
クラス
-
DRb
:: DRbServer (11) -
Gem
:: ConfigFile (22) -
Gem
:: StreamUI (11) -
Gem
:: StreamUI :: VerboseProgressReporter (33) -
IRB
:: Context (22) - OptionParser (33)
-
RDoc
:: Options (22) - Shell (54)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (30)
モジュール
-
CGI
:: HtmlExtension (22) - DRb (11)
- FileUtils (374)
- Kernel (55)
- Marshal (22)
- RakeFileUtils (11)
キーワード
-
$ -v (11) -
$ -w (11) -
$ VERBOSE (11) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
MAJOR
_ VERSION (11) -
MINOR
_ VERSION (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - Rubyの起動 (11)
- WhichCommand (11)
- [] (18)
- cd (28)
- chdir (22)
- chmod (11)
-
chmod
_ R (11) - chown (11)
-
chown
_ R (11) - copy (11)
- count (11)
- cp (11)
-
cp
_ r (11) - done (11)
- foreach (18)
- help (11)
- html (22)
- install (11)
-
install
_ system _ commands (6) - irb (11)
- link (11)
- ln (11)
-
ln
_ s (11) -
ln
_ sf (11) - makedirs (11)
- mkdir (29)
-
mkdir
_ p (11) - mkpath (11)
- move (11)
- mv (11)
- new (11)
- popdir (6)
-
progress
_ reporter (11) - pushd (6)
- pushdir (6)
- 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 / environment _ command (11) -
rubygems
/ commands / generate _ index _ command (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / list _ command (11) -
rubygems
/ commands / mirror _ command (11) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / query _ command (11) -
rubygems
/ commands / search _ command (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
safe
_ unlink (11) -
start
_ service (11) - symlink (11)
- system (6)
- test (18)
-
test
/ unit (1) -
to
_ s (11) - touch (11)
- updated (11)
- verbose? (11)
-
verbose
_ flag (11) - verbosity (11)
- warn (22)
-
warning
_ unless _ e _ option (11)
検索結果
先頭5件
-
irb (26324.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......す。
readline ライブラリがインストールされている時には
自動的にコマンドライン編集や履歴の機能が使えるようになります。
=== irb のコマンドラインオプション
irb [options] file_name opts
options:
-f ~/.irbrc を読......true にする (ruby -d と同じ)
-w ruby -w と同じ
-W[level=2] ruby -W と同じ
-r library ruby -r と同じ
-I ruby -I と同じ
-U ruby -U と同じ
-E enc ruby -E と同じ
--verbose これから実... -
IRB
:: Context # verbose -> bool | nil (21319.0) -
標準出力に詳細なメッセージを出力するように設定されているかどうかを返し ます。
...
IRB::Context#verbose? とは別のメソッドである事に注意してください。
@return 詳細なメッセージを出力するように設定されている場合は true を返
します。そうでない場合は false か nil を返します。
@see IRB::Context#verbose?, IR......B::Context#verbose=... -
Gem
:: ConfigFile # verbose -> bool | Symbol (21207.0) -
ログの出力レベルを返します。
...ログの出力レベルを返します。
@see Gem::ConfigFile#verbose=... -
RakeFileUtils
. verbose _ flag -> bool (12213.0) -
この値が真の場合、詳細を表示します。
...この値が真の場合、詳細を表示します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :sample_file_task
file :sample_file_task do |t|
# --verbose で rake を実行する
RakeFileUtils.verbose_flag # => true
end
//}... -
FileUtils
. # chdir(dir , options = {}) {|dir| . . . . } -> nil (9412.0) -
プロセスのカレントディレクトリを dir に変更します。
...を dir に変更します。
ブロックとともに呼び出された時はブロック終了後に
元のディレクトリに戻ります。
@param dir ディレクトリを指定します。
@param options :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby......]{
require 'fileutils'
FileUtils.cd('/', verbose: true) # chdir and report it
//}... -
FileUtils
. # chdir(dir , options = {}) {|dir| . . . . } -> object (9412.0) -
プロセスのカレントディレクトリを dir に変更します。
...を dir に変更します。
ブロックとともに呼び出された時はブロック終了後に
元のディレクトリに戻ります。
@param dir ディレクトリを指定します。
@param options :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby......]{
require 'fileutils'
FileUtils.cd('/', verbose: true) # chdir and report it
//}... -
IRB
:: Context # verbose? -> bool | nil (9319.0) -
標準出力に詳細なメッセージを出力するかどうかを返します。
...か nil を返します。
設定を行っていた場合(IRB::Context#verbose が true か false を返す
場合)は設定した通りに動作します。設定を行っていない場合は、ファイルを指
定して irb を実行した場合などに true を返します。
@see IRB::Co......ntext#verbose, IRB::Context#verbose=... -
FileUtils
. # chdir(dir , options = {}) -> 0 (9312.0) -
プロセスのカレントディレクトリを dir に変更します。
...を dir に変更します。
ブロックとともに呼び出された時はブロック終了後に
元のディレクトリに戻ります。
@param dir ディレクトリを指定します。
@param options :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby......]{
require 'fileutils'
FileUtils.cd('/', verbose: true) # chdir and report it
//}... -
FileUtils
. # chdir(dir , options = {}) -> nil (9312.0) -
プロセスのカレントディレクトリを dir に変更します。
...を dir に変更します。
ブロックとともに呼び出された時はブロック終了後に
元のディレクトリに戻ります。
@param dir ディレクトリを指定します。
@param options :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby......]{
require 'fileutils'
FileUtils.cd('/', verbose: true) # chdir and report it
//}... -
FileUtils
. # rmdir(dir , options = {}) -> () (9312.0) -
ディレクトリ dir を削除します。
...ディレクトリ dir を削除します。
ディレクトリにファイルが残っていた場合は削除に失敗します。
@param dir 削除するディレクトリを指定します。一つの場合は文字列でも指定可能です。
二つ以上指定する場合は配......ions :parents, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.rmdir('somedir')
FileUtils.rmdir(%w(somedir anydir otherdir))
# 実際にはディレクトリの削除は行わずにメッセージ出力のみ
FileUtils.rmdi......r('somedir', verbose: true, noop: true)
//}... -
FileUtils
. # mkdir(dir , options = {}) -> () (9306.0) -
ディレクトリ dir を作成します。
...リ dir を作成します。
@param dir 作成するディレクトリ。
@param options :mode, :noop, :verbose が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.mkdir('test')
FileUtils.mkdir(%w( tmp data ))
FileUtils.mkdir('notexist', n... -
FileUtils
. # install(src , dest , options = {}) -> () (9218.0) -
src と dest の内容が違うときだけ src を dest にコピーします。
...tions :preserve, :noop, :verbose, :mode, :owner, :group が指定できます。
c:FileUtils#options
//emlist[][ruby]{
require 'fileutils'
FileUtils.install('ruby', '/usr/local/bin/ruby', mode: 0755, verbose: true)
FileUtils.install('lib.rb', '/usr/local/lib/ruby/site_ruby', verbose:...