るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

検索結果

Gem::Format#spec=(spec) (21101.0)

Gem の Gem::Specification をセットします。

...Gem の Gem::Specification をセットします。

@param spec Gem の Gem::Specification をセットします。...

Gem::OldFormat#spec=(spec) (21101.0)

Gem の Gem::Specification をセットします。

...Gem の Gem::Specification をセットします。

@param spec Gem の Gem::Specification をセットします。...

Gem::RequirePathsBuilder#write_require_paths_file_if_needed(spec = @spec, gem_home = @gem_home) (9102.0)

必要であれば、'.require_paths' というファイルを Gem ごとに作成します。

...必要であれば、'.require_paths' というファイルを Gem ごとに作成します。...

Rake::GemPackageTask#gem_spec=(gem_spec) (9101.0)

gemspec をセットします。

...gemspec をセットします。

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

Rake::FileList#pathmap(spec = nil) -> Rake::FileList (6102.0)

各要素に String#pathmap を適用した新しい Rake::FileList を返します。

...String#pathmap を適用した新しい Rake::FileList を返します。

//emlist[][ruby]{
# Rakefile での記載例とする

t
ask default: :test_rake_app
t
ask :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.pathmap("%n") # => ["test1", "test2", "test...
...3"]
end
//}

@see String#pathmap...

絞り込み条件を変える

String#pathmap(spec = nil) { ... } -> String (6102.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 には単純な文字列置換を行うための
置換パター...
...c/org/onestepback/proj/A.java".pathmap("%{^src,bin}X.class")
#=> "bin/org/onestepback/proj/A.class"

置換文字列に '*' を指定した場合は、置換文字列を計算するためにブロックを評価します。

例:

"/path/to/file.TXT".pathmap("%X%{.*,*}x") { |ext| ext.downcase...
...}
#=> "/path/to/file.txt"...