744件ヒット
[1-100件を表示]
(0.092秒)
ライブラリ
- ビルトイン (161)
-
irb
/ cmd / help (11) - json (66)
- psych (28)
- rake (66)
- resolv (33)
- rexml (11)
-
rexml
/ document (209) -
rubygems
/ commands / update _ command (11) -
rubygems
/ specification (33) -
shell
/ builtin-command (6) - socket (22)
-
webrick
/ config (11)
クラス
- Data (2)
- Encoding (11)
-
Gem
:: Commands :: UpdateCommand (11) -
Gem
:: Specification (33) -
IRB
:: ExtendCommand :: Help (11) - MatchData (11)
- Module (61)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (22) -
REXML
:: DocType (11) -
REXML
:: Element (55) -
REXML
:: XPath (33) -
Rake
:: FileList (11) -
Rake
:: NameSpace (11) -
Rake
:: TaskArguments (11) - Regexp (11)
- Resolv (22)
-
Resolv
:: Hosts (11) - RubyVM (11)
-
Shell
:: Cat (6) - Socket (11)
モジュール
- JSON (55)
- Kernel (33)
- ObjectSpace (22)
- Psych (28)
-
REXML
:: Namespace (77) -
Rake
:: TaskManager (11) -
Socket
:: Constants (11) -
WEBrick
:: Config (11)
オブジェクト
- main (32)
キーワード
- DigestAuth (11)
-
IF
_ NAMESIZE (22) -
INSTRUCTION
_ NAMES (11) - JSON (11)
-
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - UndefinedNamespaceException (11)
- [] (11)
-
add
_ namespace (22) - attribute (11)
-
attribute
_ names (11) - cgi (11)
-
deconstruct
_ keys (2) - each (11)
-
each
_ object (22) - execute (11)
- first (11)
-
get
_ attribute _ ns (11) - getnames (33)
-
has
_ name? (11) - import (11)
-
in
_ namespace (11) - include (11)
- irb (11)
- load (22)
-
local
_ name (11) - match (11)
- name (11)
- namespace (33)
- namespaces (33)
- new (28)
- parse (11)
- parse! (11)
- prefix (11)
- prefix= (11)
- private (32)
-
private
_ class _ method (8) - protected (8)
- public (32)
-
public
_ class _ method (8) -
rake
/ classic _ namespace (11) - rdoc (11)
-
read
_ only (11) - restore (11)
-
ruby2
_ keywords (5) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / search _ command (11) -
safe
_ load (17) -
test
/ unit (1) -
which
_ to _ update (11)
検索結果
先頭5件
-
IRB
:: ExtendCommand :: Help # execute(*names) -> nil (23213.0) -
RI から Ruby のドキュメントを参照します。
...RI から Ruby のドキュメントを参照します。
irb(main):001:0> help String#match
...
@param names 参照したいクラス名やメソッド名などを文字列で指定します。
names を指定しなかった場合は、RI を対話的なモードで起動します。メソ......す。また、空行を入力する事で irb のプロンプトに戻る事ができま
す。
irb(main):001:0> help
Enter the method name you want to look up.
You can use tab to autocomplete.
Enter a blank line to exit.
>> String#match
String#match
(from ruby core)
-----------......-------------------------------------------------------------------
str.match(pattern) -> matchdata or nil
str.match(pattern, pos) -> matchdata or nil
...... -
Encoding
# names -> String (21207.0) -
エンコーディングの名前とエイリアス名の配列を返します。
...エンコーディングの名前とエイリアス名の配列を返します。
//emlist[例][ruby]{
Encoding::UTF_8.names #=> ["UTF-8", "CP65001"]
//}... -
MatchData
# names -> [String] (18219.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] (18219.0) -
正規表現に含まれる名前付きキャプチャ(named capture)の名前を 文字列の配列で返します。
...正規表現に含まれる名前付きキャプチャ(named capture)の名前を
文字列の配列で返します。
//emlist[例][ruby]{
/(?<foo>.)(?<bar>.)(?<baz>.)/.names
# => ["foo", "bar", "baz"]
/(?<foo>.)(?<foo>.)/.names
# => ["foo"]
/(.)(.)/.names
# => []
//}... -
RubyVM
:: INSTRUCTION _ NAMES -> [String] (12301.0) -
RubyVM の命令シーケンスの名前の一覧を返します。
...RubyVM の命令シーケンスの名前の一覧を返します。
@see RubyVM::InstructionSequence... -
Gem
:: Specification . attribute _ names -> Array (12201.0) -
属性名の配列を返します。
属性名の配列を返します。 -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (12200.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
:: UndefinedNamespaceException (12000.0) -
XMLのパース中に、定義されていない名前空間が現れた場合に発生する 例外です。
XMLのパース中に、定義されていない名前空間が現れた場合に発生する
例外です。 -
rake
/ classic _ namespace (12000.0) -
このライブラリは古い Rakefile を使用する場合のみ使用してください。
...このライブラリは古い Rakefile を使用する場合のみ使用してください。
以下の定数が定義されます。
* Task = Rake::Task
* FileTask = Rake::FileTask
* FileCreationTask = Rake::FileCreationTask
* RakeApp = Rake::Application... -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (9300.0) -
属性の名前空間の URI を返します。
...の URI を返します。
URI が定義されていない場合は nil を返します。
@param arg この値を指定すると、その属性の名前空間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'r......exml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:ns", "http://www.example.com/ns")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").prefix # => "ns"
p e.attributes.get_attribute("r").namespace # => "http://www.example.com/ns"
//}...