12件ヒット
[1-12件を表示]
(0.089秒)
ライブラリ
- ビルトイン (1)
- rake (4)
-
rexml
/ document (4) -
rubygems
/ command (1) -
rubygems
/ command _ manager (1) -
rubygems
/ commands / update _ command (1)
クラス
-
Gem
:: Command (1) -
Gem
:: CommandManager (1) -
Gem
:: Commands :: UpdateCommand (1) - MatchData (1)
-
REXML
:: DocType (1) -
REXML
:: Element (2) -
Rake
:: NameSpace (1) -
Rake
:: Task (1) -
Rake
:: TaskArguments (1)
モジュール
-
REXML
:: Namespace (1) -
Rake
:: TaskManager (1)
キーワード
-
arg
_ names (1) -
command
_ names (1) -
get
_ all _ gem _ names (1) -
in
_ namespace (1) - namespace (1)
- namespaces (2)
- tasks (1)
-
which
_ to _ update (1)
検索結果
先頭5件
-
Rake
:: TaskArguments # names -> Array (54625.0) -
パラメータ名のリストを返します。
パラメータ名のリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
arguments = Rake::TaskArguments.new(["name1", "name2"], ["value1", "value2"])
arguments.names # => ["name1", "name2"]
end
//} -
MatchData
# names -> [String] (54415.0) -
名前付きキャプチャの名前を文字列配列で返します。
名前付きキャプチャの名前を文字列配列で返します。
self.regexp.names と同じです。
//emlist[例][ruby]{
/(?<foo>.)(?<bar>.)(?<baz>.)/.match("hoge").names
# => ["foo", "bar", "baz"]
m = /(?<x>.)(?<y>.)?/.match("a") # => #<MatchData "a" x:"a" y:nil>
m.names # => ["x", "y"]
//} -
REXML
:: DocType # namespaces -> nil (27304.0) -
nil を返します。
nil を返します。 -
REXML
:: Namespace # fully _ expanded _ name -> String (27304.0) -
完全修飾名を返します。
完全修飾名を返します。 -
Gem
:: Command # get _ all _ gem _ names -> Array (18607.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Gem
:: CommandManager # command _ names -> Array (18607.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Rake
:: Task # arg _ names -> Array (18607.0) -
自身のパラメータ名のリストを返します。
自身のパラメータ名のリストを返します。 -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (18604.0) -
与えられた名前の名前空間でブロックを評価します。
与えられた名前の名前空間でブロックを評価します。
@param name 名前を指定します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
namespace :sample do
def hoge
puts "hoge"
end
end
task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//} -
REXML
:: Element # namespace(prefix=nil) -> String (18376.0) -
self の文脈で prefix が指している名前空間の URI を返します。
self の文脈で prefix が指している名前空間の URI を返します。
prefix を省略すると、デフォルトの名前空間の URI を返します。
prefix で指示される名前空間の宣言が存在しない場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns='1' xmlns:y='2'><b/><c xmlns:z='3'/><y:d /></a>")
b = doc.elements['//b']
b.namespace # => "1"
... -
REXML
:: Element # namespaces -> {String => String} (18340.0) -
self の文脈で定義されている名前空間の情報を返します。
self の文脈で定義されている名前空間の情報を返します。
対象の要素とその外側の要素で定義されている名前空間を、{ prefix => 識別子 }
というハッシュテーブルで返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
//} -
Rake
:: NameSpace # tasks -> Array (9304.0) -
タスクのリストを返します。
タスクのリストを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
namespace :ns do |ns|
task :ts1 do
end
task :ts2 do
end
ns.tasks # => [<Rake::Task ns:ts1 => []>, <Rake::Task ns:ts2 => []>]
end
//} -
Gem
:: Commands :: UpdateCommand # which _ to _ update(highest _ installed _ gems , gem _ names) -> Array (607.0) -
更新が必要な Gem のリストを返します。
更新が必要な Gem のリストを返します。