284件ヒット
[1-100件を表示]
(0.212秒)
別のキーワード
種類
- 特異メソッド (152)
- インスタンスメソッド (110)
- ライブラリ (11)
- 定数 (11)
ライブラリ
- ビルトイン (45)
-
irb
/ cmd / load (33) -
irb
/ input-method (33) - rake (11)
-
rdoc
/ code _ object (11) -
rdoc
/ parser (22) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
rdoc
/ parser / simple (11) -
rdoc
/ top _ level (11) -
rubygems
/ config _ file (22) -
rubygems
/ installer (11) -
rubygems
/ source _ index (11) -
rubygems
/ specification (11) -
yaml
/ store (19)
クラス
- Dir (20)
- File (25)
-
Gem
:: ConfigFile (22) -
Gem
:: Installer (11) -
Gem
:: SourceIndex (11) -
Gem
:: Specification (11) -
IRB
:: ExtendCommand :: Load (11) -
IRB
:: ExtendCommand :: Require (11) -
IRB
:: ExtendCommand :: Source (11) -
IRB
:: InputMethod (22) -
RDoc
:: CodeObject (11) -
RDoc
:: Parser (22) -
RDoc
:: Parser :: C (11) -
RDoc
:: Parser :: Ruby (11) -
RDoc
:: Parser :: Simple (11) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (11) -
YAML
:: Store (19)
モジュール
- IRB (11)
キーワード
-
STDIN
_ FILE _ NAME (11) -
absolute
_ path (11) -
absolute
_ path? (5) -
can
_ parse (11) -
config
_ file _ name (11) -
excluded
_ from _ list? (11) - execute (33)
- exist? (11)
- exists? (9)
- irb (11)
-
load
_ file (11) -
load
_ specification (11) - mkfifo (9)
- new (74)
-
parent
_ file _ name (11) -
parser
_ for (11) - shebang (11)
検索結果
先頭5件
-
Gem
:: Specification # file _ name -> String (24301.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
IRB
:: InputMethod # file _ name -> String (24301.0) -
ファイル名を文字列で返します。
ファイル名を文字列で返します。 -
Gem
:: ConfigFile # config _ file _ name -> String (15301.0) -
設定ファイルの名前を返します。
設定ファイルの名前を返します。 -
IRB
:: STDIN _ FILE _ NAME -> "(line)" (12301.0) -
標準入力を使用する際のファイル名を文字列で返します。
標準入力を使用する際のファイル名を文字列で返します。 -
RDoc
:: CodeObject # parent _ file _ name -> String (12301.0) -
self.parent のファイル名を返します。
...self.parent のファイル名を返します。
@see RDoc::CodeObject#parent... -
Gem
:: ConfigFile # load _ file(file _ name) -> object (9307.0) -
与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
...与えられたファイル名のファイルが存在すれば YAML ファイルとしてロードします。
@param file_name YAML 形式で記述された設定ファイル名を指定します。... -
File
. absolute _ path(file _ name , dir _ string=nil) -> String (6323.0) -
file_name を絶対パスに変換した文字列を返します。
...
file_name を絶対パスに変換した文字列を返します。
相対パスの場合はカレントディレクトリを基準とします。
dir_string を渡した場合はそのディレクトリを基準とします。
File.expand_path と異なり、 file_name 先頭が "~" である場....../emlist[例][ruby]{
p Dir.getwd #=> "/home/matz/work/bar"
p ENV["HOME"] #=> "/home/matz"
p File.absolute_path("..") #=> "/home/matz/work"
p File.absolute_path("..", "/tmp") #=> "/"
p File.absolute_path("~") #=> "/home/matz/work/bar/~"
p File.a......bsolute_path("~foo") #=> "/home/matz/work/bar/~foo"
//}
@see File.expand_path... -
File
. absolute _ path?(file _ name) -> bool (6323.0) -
file_name が絶対パスなら true を、そうでなければ false を返します。
...
file_name が絶対パスなら true を、そうでなければ false を返します。
@param file_name ファイル名を表す文字列を指定します。文字列でない場合は、to_path メソッド、to_str メソッドの順で暗黙の型変換が試みられます。
@raise TypeE......//emlist[例][ruby]{
File.absolute_path?("//foo/bar\\baz") # => true
File.absolute_path?("C:foo\\bar") # => false
File.absolute_path?("~") # => false
# プラットフォームが cygwin、mswin、mingw の場合
File.absolute_path?("C:\\foo\\bar") # => true
File.absolute_path?......("/foo/bar\\baz") # => false
# プラットフォームが上記以外の場合
File.absolute_path?("C:\\foo\\bar") # => false
File.absolute_path?("/foo/bar\\baz") # => true
//}... -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (6307.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
...スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec をロードしてい... -
Rake
:: FileList # excluded _ from _ list?(file _ name) -> bool (6307.0) -
与えられたファイル名が除外される場合は、真を返します。 そうでない場合は偽を返します。
...@param file_name ファイル名を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb")
file_list.exclude("test1.......rb")
file_list.excluded_from_list?("test1.rb") # => true
file_list.excluded_from_list?("test2.rb") # => false
end
//}...