371件ヒット
[1-100件を表示]
(0.034秒)
種類
- インスタンスメソッド (151)
- 文書 (98)
- 特異メソッド (89)
- モジュール関数 (22)
- クラス (11)
ライブラリ
- ビルトイン (33)
- csv (44)
- fileutils (11)
- pathname (11)
- rake (22)
-
rake
/ testtask (11) - rubygems (11)
-
rubygems
/ commands / which _ command (22) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ gem _ path _ searcher (22) - shell (30)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httpserver (11)
クラス
- CSV (33)
-
Encoding
:: Converter (22) -
Gem
:: Commands :: WhichCommand (22) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: GemPathSearcher (22) - Pathname (11)
-
Rake
:: TestTask (11) -
RubyVM
:: InstructionSequence (11) - Shell (30)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (11)
-
WEBrick
:: HTTPServer :: MountTable (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - CSV (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (3) - Ruby用語集 (11)
- build (33)
- convpath (11)
-
default
_ system _ path (6) -
default
_ system _ path= (6) - find (11)
-
find
_ all (11) -
find
_ paths (11) -
gem
_ paths (11) - libs (11)
- mkdir (18)
- mkpath (11)
-
pathmap
_ explode (11) - read (11)
- readlines (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - scan (11)
-
search
_ convpath (11) - split (11)
-
split
_ all (11) -
system
_ path (6) -
system
_ path= (6) - table (11)
-
to
_ a (11)
検索結果
先頭5件
-
Gem
. # path -> Array (18202.0) -
Gem を検索するパスの配列を返します。
Gem を検索するパスの配列を返します。 -
Shell
. default _ system _ path -> Array (6228.0) -
Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。
...る対象のパスを設定および、参照します。
@param path Shellでもちいられるコマンドを検索する対象のパスを文字列で指定します。
動作例
require 'shell'
p Shell.default_system_path
# 例
#=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/......bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/Users/kouya/bin"]
Shell.default_system_path = ENV["HOME"] + "/bin"
p Shell.default_system_path
# => "/Users/kouya/bin"... -
Shell
. default _ system _ path=(path) (6228.0) -
Shellでもちいられるコマンドを検索する対象のパスを設定および、参照します。
...る対象のパスを設定および、参照します。
@param path Shellでもちいられるコマンドを検索する対象のパスを文字列で指定します。
動作例
require 'shell'
p Shell.default_system_path
# 例
#=> [ "/opt/local/bin", "/opt/local/sbin", "/usr/bin", "/......bin", "/usr/sbin", "/sbin", "/usr/local/bin", "/usr/X11/bin", "/Users/kouya/bin"]
Shell.default_system_path = ENV["HOME"] + "/bin"
p Shell.default_system_path
# => "/Users/kouya/bin"... -
Shell
# system _ path -> Array (6222.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# system _ path=(path) (6222.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Encoding
:: Converter # convpath -> Array (6201.0) -
変換器が行う変換の経路を配列にして返します。
...う変換の経路の配列
//emlist[][ruby]{
ec = Encoding::Converter.new("ISo-8859-1", "EUC-JP", crlf_newline: true)
p ec.convpath
#=> [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "crlf_newline"]
//}
@see Encoding::Converter.search_convpath... -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (6201.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
...:Converter.search_convpath("ISO-8859-1", "EUC-JP")
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
# [#<Encoding:UTF-8>, #<Encoding:EUC-JP>]]
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-JP", universal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "EUC-J......#<Encoding:UTF-8>, #<Encoding:EUC-JP>],
# "universal_newline"]
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", universal_newline: true)
# or
p Encoding::Converter.search_convpath("ISO-8859-1", "UTF-32BE", newline: :universal)
# => [[#<Encoding:ISO-8859-1>, #<Encoding:UTF-8>],
#......"universal_newline",
# [#<Encoding:UTF-8>, #<Encoding:UTF-32BE>]]
//}
@see Encoding::Converter#convpath, Encoding::Converter.new... -
Gem
:: Commands :: WhichCommand # find _ paths(package _ name , dirs) -> Array (6201.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 (6201.0) -
与えられた Gem::Specification のインスタンスからその Gem が require するファイルのあるディレクトリをまとめて返します。
与えられた Gem::Specification のインスタンスからその Gem が
require するファイルのあるディレクトリをまとめて返します。
@param spec Gem::Specification のインスタンスを指定します。 -
String
# pathmap _ explode -> Array (6201.0) -
自身をパスを表す部分ごとに分解して配列にして返します。 String#pathmap で利用される protected メソッドです。
...自身をパスを表す部分ごとに分解して配列にして返します。
String#pathmap で利用される protected メソッドです。
@see String#pathmap... -
FileUtils
. # mkpath(list , options = {}) -> Array (3203.0) -
ディレクトリ dir とその親ディレクトリを全て作成します。
ディレクトリ dir とその親ディレクトリを全て作成します。
例えば、
//emlist[][ruby]{
require 'fileutils'
FileUtils.mkdir_p('/usr/local/lib/ruby')
//}
は以下の全ディレクトリを (なければ) 作成します。
* /usr
* /usr/local
* /usr/local/bin
* /usr/local/bin/ruby
@param list 作成するディレクトリ。一つの場合は文字列でも指定できます。
二つ以上指定する場合は配列で指定します。
@param...