144件ヒット
[1-100件を表示]
(0.143秒)
ライブラリ
- ビルトイン (36)
-
cgi
/ core (12) -
cgi
/ html (24) -
irb
/ ext / save-history (12) - openssl (12)
- pathname (12)
- rake (24)
-
rubygems
/ specification (12)
クラス
-
Gem
:: Specification (12) - IO (36)
-
IRB
:: Context (12) -
OpenSSL
:: SSL :: SSLContext (12) - Pathname (12)
-
Rake
:: FileList (12) - String (12)
モジュール
-
CGI
:: HtmlExtension (24) -
CGI
:: QueryExtension (12)
キーワード
-
ca
_ file (12) -
create
_ body (12) - extname (12)
-
extra
_ rdoc _ files (12) -
file
_ field (24) -
history
_ file (12) - pathmap (12)
-
set
_ encoding (36)
検索結果
先頭5件
-
Rake
:: FileList # ext(newext = & # 39;& # 39;) -> Rake :: FileList (21364.0) -
各要素に String#ext を適用した新しい Rake::FileList を返します。
...各要素に String#ext を適用した新しい Rake::FileList を返します。
//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"......, "test3.rb")
file_list.ext(".erb") # => ["test1.erb", "test2.erb", "test3.erb"]
end
//}
@see String#ext... -
Gem
:: Specification # extra _ rdoc _ files -> [String] (12302.0) -
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。
RDoc でドキュメントを作成する際に使用する特別なファイルのリストを返します。 -
CGI
:: HtmlExtension # file _ field(name = "" , size = 20 , maxlength = nil) -> String (9260.0) -
タイプが file である input 要素を生成します。
...タイプが file である input 要素を生成します。
@param name name 属性の値を指定します。
@param size size 属性の値を指定します。
@param maxlength maxlength 属性の値を指定します。
例:
file_field("name")
# <INPUT TYPE="file" NAME="name" SIZE=......"20">
file_field("name", 40)
# <INPUT TYPE="file" NAME="name" SIZE="40">
file_field("name", 40, 100)
# <INPUT TYPE="file" NAME="name" SIZE="40" MAXLENGTH="100">... -
CGI
:: HtmlExtension # file _ field(attributes) -> String (9240.0) -
タイプが file である input 要素を生成します。
...タイプが file である input 要素を生成します。
@param attributes 属性をハッシュで指定します。
例:
file_field({ "NAME" => "name", "SIZE" => 40 })
# <INPUT TYPE="file" NAME="name" SIZE="40">... -
IRB
:: Context # history _ file -> String | nil (9209.0) -
履歴ファイルのパスを返します。
...履歴ファイルのパスを返します。
@return 履歴ファイルのパスを String か nil で返します。nil を返し
た場合は、~/.irb_history に履歴が保存されます。
@see lib:irb#history... -
OpenSSL
:: SSL :: SSLContext # ca _ file -> String | nil (9209.0) -
接続相手の検証のために使う、信頼している CA 証明書ファイルのパスを返します。
...接続相手の検証のために使う、信頼している CA 証明書ファイルのパスを返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::SSLContext#ca_file=... -
String
# pathmap(spec = nil) { . . . } -> String (9138.0) -
与えられた書式指定文字列に応じてパス(自身)を変換します。
...ーセント自身を表します。
%d は数値のプレフィクスを取ることができます。
例:
'a/b/c/d/file.txt'.pathmap("%2d") # => 'a/b'
'a/b/c/d/file.txt'.pathmap("%-2d") # => 'c/d'
また、%d, %p, %f, %n, %x, %X には単純な文字列置換を行うための
置換......athmap("%{^src,bin}X.class")
#=> "bin/org/onestepback/proj/A.class"
置換文字列に '*' を指定した場合は、置換文字列を計算するためにブロックを評価します。
例:
"/path/to/file.TXT".pathmap("%X%{.*,*}x") { |ext| ext.downcase }
#=> "/path/to/file.txt"... -
Pathname
# extname -> String (6224.0) -
File.extname(self.to_s) と同じです。
...File.extname(self.to_s) と同じです。
@see File.extname... -
CGI
:: QueryExtension # create _ body(is _ large) -> StringIO | Tempfile (3201.0) -