713件ヒット
[1-100件を表示]
(0.075秒)
ライブラリ
- ビルトイン (265)
- date (4)
-
irb
/ cmd / help (12) - json (12)
- rake (120)
- resolv (36)
-
rexml
/ document (216) -
rubygems
/ command (12) -
rubygems
/ command _ manager (12) -
rubygems
/ commands / update _ command (12) -
rubygems
/ specification (12)
クラス
- Data (3)
- Date (2)
- DateTime (2)
- Encoding (12)
-
Gem
:: Command (12) -
Gem
:: CommandManager (12) -
Gem
:: Commands :: UpdateCommand (12) -
Gem
:: Specification (12) -
IRB
:: ExtendCommand :: Help (12) - MatchData (26)
- Module (204)
-
REXML
:: Attribute (12) -
REXML
:: Attributes (24) -
REXML
:: DocType (12) -
REXML
:: Element (72) -
Rake
:: FileList (12) -
Rake
:: NameSpace (24) -
Rake
:: Task (24) -
Rake
:: TaskArguments (24) - Regexp (12)
- Resolv (12)
-
Resolv
:: DNS (12) -
Resolv
:: Hosts (12) - Struct (6)
- Time (2)
モジュール
- Kernel (36)
-
REXML
:: Namespace (96) -
Rake
:: TaskManager (12)
キーワード
- JSON (12)
- [] (12)
-
add
_ namespace (24) -
arg
_ names (12) - attribute (12)
-
command
_ names (12) -
deconstruct
_ keys (17) -
delete
_ namespace (12) - execute (12)
-
get
_ all _ gem _ names (12) -
get
_ attribute _ ns (12) - getnames (36)
-
has
_ name? (12) - import (12)
-
in
_ namespace (12) - include (12)
-
local
_ name (12) - name (12)
- name= (12)
-
named
_ captures (12) - namespace (36)
- namespaces (36)
-
new
_ scope (12) - prefix (12)
- prefix= (12)
- private (48)
-
private
_ class _ method (24) - protected (48)
- public (48)
-
public
_ class _ method (24) -
ruby2
_ keywords (12) -
set
_ arg _ names (12) - tasks (12)
-
which
_ to _ update (12)
検索結果
先頭5件
-
MatchData
# names -> [String] (18120.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"]
//}... -
Regexp
# names -> [String] (18120.0) -
正規表現に含まれる名前付きキャプチャ(named capture)の名前を 文字列の配列で返します。
...正規表現に含まれる名前付きキャプチャ(named capture)の名前を
文字列の配列で返します。
//emlist[例][ruby]{
/(?<foo>.)(?<bar>.)(?<baz>.)/.names
# => ["foo", "bar", "baz"]
/(?<foo>.)(?<foo>.)/.names
# => ["foo"]
/(.)(.)/.names
# => []
//}... -
Encoding
# names -> String (18108.0) -
エンコーディングの名前とエイリアス名の配列を返します。
...エンコーディングの名前とエイリアス名の配列を返します。
//emlist[例][ruby]{
Encoding::UTF_8.names #=> ["UTF-8", "CP65001"]
//}... -
Rake
:: TaskArguments # names -> Array (18108.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
//}... -
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (6201.0) -
新しい名前空間を作成します。
...新しい名前空間を作成します。
与えられたブロックを評価する間は、その名前空間を使用します。
例:
ns = namespace "nested" do
task :run
end
task_run = ns[:run] # find :run in the given namespace.
@see Rake::TaskManager#in_namespace... -
REXML
:: Element # delete _ namespace(namespace = "xmlns") -> self (6201.0) -
名前空間を要素から削除します。
...を削除します。
@param namespace 削除する名前空間の prefix
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new "<a xmlns:foo='bar' xmlns='twiddle'/>"
doc.root.delete_namespace
doc.to_s # => "<a xmlns:foo='bar'/>"
doc.root.delete_namespace 'foo'
doc.to_s # => "<a/>"... -
Gem
:: Command # get _ all _ gem _ names -> Array (6102.0) -
コマンドラインで与えられた Gem の名前を全て取得して返します。
コマンドラインで与えられた Gem の名前を全て取得して返します。
@raise Gem::CommandLineError コマンドライン引数から Gem の名前を取得できない場合に発生します。 -
Gem
:: CommandManager # command _ names -> Array (6102.0) -
登録されているコマンド名の配列を返します。
登録されているコマンド名の配列を返します。 -
Rake
:: Task # arg _ names -> Array (6102.0) -
自身のパラメータ名のリストを返します。
自身のパラメータ名のリストを返します。