るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
49件ヒット [1-49件を表示] (0.080秒)

別のキーワード

  1. psych psych_y
  2. psych y
  3. kernel y
  4. kernel psych_y
  5. y kernel

検索結果

Shell::SystemCommand#command -> String (72307.0)

@todo

@todo

コマンド名を返します。

Shell::CommandProcessor#find_system_command(command) (45910.0)

@todo

@todo

Shell#find_system_command(command) (36910.0)

@todo

@todo

Shell::Filter#find_system_command(command) (36910.0)

@todo

@todo

Gem::Commands::BuildCommand#yaml?(filename) -> bool (36304.0)

与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。

与えられたファイル名を持つファイルが yaml ファイルである場合に真を返します。

@param filename ファイル名を指定します。

絞り込み条件を変える

Gem::Commands::UpdateCommand#do_rubygems_update(version) (36304.0)

RubyGems 自体を更新します。

RubyGems 自体を更新します。

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (28309.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Gem::CommandManager#find_command_possibilities(command_name) -> Array (27928.0)

登録されているコマンドでマッチする可能性のあるものを返します。

登録されているコマンドでマッチする可能性のあるものを返します。

@param command_name コマンド名を文字列で指定します。

Gem::CommandManager#command_names -> Array (27607.0)

登録されているコマンド名の配列を返します。

登録されているコマンド名の配列を返します。

Gem::Command#summary -> String (27304.0)

コマンドの短い説明を返します。

コマンドの短い説明を返します。

絞り込み条件を変える

Gem::Command#summary=(description) (27304.0)

コマンドの短い説明をセットします。

コマンドの短い説明をセットします。

@param description コマンドの短い説明を指定します。

Gem::Commands::DependencyCommand#find_reverse_dependencies(spec) -> Array (27304.0)

与えられた Gem スペックに依存する Gem のリストを返します。

与えられた Gem スペックに依存する Gem のリストを返します。

@param spec Gem::Specification のインスタンスを指定します。

Shell::CommandProcessor#directory?(file) -> bool (27304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?

Shell::CommandProcessor#ftype(filename) -> String (27304.0)

File クラスにある同名のクラスメソッドと同じです.

File クラスにある同名のクラスメソッドと同じです.

@param filename ファイル名を表す文字列を指定します。

@see File.ftype

Shell::CommandProcessor#notify(*opts) { ... } -> () (27304.0)

@todo

@todo

絞り込み条件を変える

Shell::CommandProcessor#sticky?(file) -> bool (27304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#sticky?

Shell::CommandProcessor#symlink(old, new) -> 0 (27304.0)

File クラスにある同名のクラスメソッドと同じです.

File クラスにある同名のクラスメソッドと同じです.

@param old ファイル名を表す文字列を指定します。

@param new シンボリックリンクを表す文字列を指定します。

@see File.symlink

Shell::CommandProcessor#symlink?(file) -> bool (27304.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#symlink?

Shell::SystemCommand#notify(*opts) -> String (27304.0)

@todo

@todo

@param opts

@see Shell#notify

Shell::SystemCommand#notify(*opts) {|message| ... } -> String (27304.0)

@todo

@todo

@param opts

@see Shell#notify

絞り込み条件を変える

Shell::SystemCommand#name -> String (27007.0)

@todo

@todo

コマンド名を返します。

Gem::Commands::DependencyCommand#arguments -> String (27004.0)

引数の説明を表す文字列を返します。

引数の説明を表す文字列を返します。

Gem::Commands::DependencyCommand#execute -> () (27004.0)

コマンドを実行します。

コマンドを実行します。

Gem::Commands::DependencyCommand#find_gems(name, source_index) -> Hash (27004.0)

与えられた Gem の名前をインデックスから検索します。

与えられた Gem の名前をインデックスから検索します。

@param name Gem の名前を指定します。

@param source_index Gem::SourceIndex のインスタンスを指定します。

@see Gem::SourceIndex#search

Gem::Commands::DependencyCommand#print_dependencies(spec, level = 0) -> String (27004.0)

依存関係を表す文字列を返します。

依存関係を表す文字列を返します。

@param spec Gem::Specification のインスタンスを指定します。

@param level 依存関係の深さを指定します。

絞り込み条件を変える

Gem::Commands::DependencyCommand#usage -> String (27004.0)

使用方法を表す文字列を返します。

使用方法を表す文字列を返します。

Shell#system(command, *opts) -> Shell::SystemCommand (19309.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (19309.0)

command を実行する.

command を実行する.

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT

Kernel#try_do(src, command, *opts) -> () (18628.0)

@param src C プログラムのソースコードを指定します。

@param src C プログラムのソースコードを指定します。

@param command コマンドを指定します。

@param opts オプションを Hash で指定します。

@raise RuntimeError 開発環境がインストールされていない場合に発生します。

@see Kernel#xsystem

Kernel#try_do(src, command, *opts) { ... } -> () (18628.0)

@param src C プログラムのソースコードを指定します。

@param src C プログラムのソースコードを指定します。

@param command コマンドを指定します。

@param opts オプションを Hash で指定します。

@raise RuntimeError 開発環境がインストールされていない場合に発生します。

@see Kernel#xsystem

絞り込み条件を変える

Kernel#xsystem(command, opts = nil) -> () (18625.0)

Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。

Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。

@param command コマンドを指定します。
@param opts オプションを Hash で指定します。
:werror というキーに真を指定すると

@see Kernel.#system

Gem::Commands::BuildCommand#load_gemspecs(filename) -> Array (18304.0)

gemspec ファイルをロードします。

gemspec ファイルをロードします。

@param filename ファイル名を指定します。

Gem::Commands::UpdateCommand#which_to_update(highest_installed_gems, gem_names) -> Array (18304.0)

更新が必要な Gem のリストを返します。

更新が必要な Gem のリストを返します。

Gem::Commands::WhichCommand#find_paths(package_name, dirs) -> Array (18304.0)

dirs から package_name という名前を持つファイルを探索します。

dirs から package_name という名前を持つファイルを探索します。

以下の拡張子を持つファイルが対象です。

%w[.rb .rbw .so .dll .bundle]

@param package_name ファイルの名前を指定します。

@param dirs 探索するディレクトリを文字列の配列で指定します。

Gem::Commands::WhichCommand#gem_paths(spec) -> Array (18304.0)

与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。

与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。

@param spec Gem::Specification のインスタンスを指定します。

絞り込み条件を変える

Shell::SystemCommand#active? -> bool (18004.0)

@todo

@todo

Shell::SystemCommand#each(rs = nil) {|line| ... } (18004.0)

@todo

@todo

@param rs

Shell::SystemCommand#flush -> () (18004.0)

@todo

@todo

Shell::SystemCommand#input=(inp) (18004.0)

@todo

@todo

Shell::SystemCommand#kill(signal) -> Integer (18004.0)

自身のプロセスにシグナルを送ります。

自身のプロセスにシグナルを送ります。

@param signal シグナルを整数かその名前の文字列で指定します。
負の値を持つシグナル(あるいはシグナル名の前に-)を指定すると、
プロセスではなくプロセスグループにシグナルを送ります。

@see Process.#kill

絞り込み条件を変える

Shell::SystemCommand#start -> () (18004.0)

@todo

@todo

Shell::SystemCommand#start_export (18004.0)

@todo

@todo

Shell::SystemCommand#start_import -> () (18004.0)

@todo

@todo

Shell::SystemCommand#super_each -> () (18004.0)

@todo

@todo

Shell::Filter#each です。

Shell::SystemCommand#terminate -> () (18004.0)

@todo

@todo

絞り込み条件を変える

Shell::SystemCommand#wait? -> bool (18004.0)

@todo

@todo

Gem::Command#add_extra_args(args) -> Array (9304.0)

$HOME/.gemrc から読み込んだ引数を追加します。

$HOME/.gemrc から読み込んだ引数を追加します。

@param args 追加する引数を配列で指定します。

Gem::Command#get_all_gem_names -> Array (9304.0)

コマンドラインで与えられた Gem の名前を全て取得して返します。

コマンドラインで与えられた Gem の名前を全て取得して返します。

@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。

Shell::CommandProcessor#mkdir(*path) -> Array (9304.0)

Dir.mkdirと同じです。 (複数可)

Dir.mkdirと同じです。 (複数可)

@param path 作成するディレクトリ名を文字列で指定します。

@return 作成するディレクトリの一覧の配列を返します。

使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=> ["foo"]
rescue => err
puts err
end