552件ヒット
[1-100件を表示]
(0.180秒)
ライブラリ
- ビルトイン (11)
-
irb
/ cmd / chws (22) -
irb
/ cmd / pushws (33) -
irb
/ context (22) - json (66)
- prettyprint (11)
- rake (44)
-
rexml
/ document (209) -
rinda
/ rinda (55) -
rinda
/ tuplespace (55) - scanf (24)
クラス
-
IRB
:: Context (22) -
IRB
:: ExtendCommand :: ChangeWorkspace (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
IRB
:: ExtendCommand :: PopWorkspace (11) -
IRB
:: ExtendCommand :: PushWorkspace (11) -
IRB
:: ExtendCommand :: Workspaces (11) -
JSON
:: State (66) -
ObjectSpace
:: WeakMap (11) - PrettyPrint (11)
-
REXML
:: Attribute (11) -
REXML
:: Attributes (22) -
REXML
:: DocType (11) -
REXML
:: Element (77) -
Rake
:: NameSpace (22) -
Rinda
:: TupleSpace (55) -
Rinda
:: TupleSpaceProxy (55) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (6) - String (12)
モジュール
- Kernel (11)
-
REXML
:: Namespace (88) -
Rake
:: TaskManager (11)
キーワード
- [] (22)
-
add
_ namespace (22) - attribute (11)
-
count
_ space? (6) -
delete
_ namespace (11) - execute (55)
- genspace (11)
-
get
_ attribute _ ns (11) -
has
_ name? (11) -
in
_ namespace (11) -
local
_ name (11) - name (11)
- name= (11)
- namespace (33)
- namespaces (33)
- notify (22)
- prefix (11)
- prefix= (11)
- read (22)
-
read
_ all (22) - scanf (12)
- space= (11)
-
space
_ before (11) -
space
_ before= (11) - take (22)
- tasks (11)
-
to
_ h (11) -
to
_ hash (11) - whitespace (11)
- workspace (11)
- workspace= (11)
- write (22)
検索結果
先頭5件
-
JSON
:: State # space -> String (21226.0) -
JSON 形式の文字列のトークン間に挿入する文字列を返します。
...JSON 形式の文字列のトークン間に挿入する文字列を返します。
//emlist[例][ruby]{
require "json"
json_state = JSON::State.new(space: "")
json_state.space # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age"......:19}]
json_state = JSON::State.new(space: "\t")
json_state.space # => "\t"
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name": "tanaka","age": 19}]
//}... -
Scanf
:: FormatString # space (21102.0) -
@todo
@todo -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (15302.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
//}... -
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (12501.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 (12401.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/>"... -
Scanf
:: FormatSpecifier # count _ space? (12202.0) -
@todo
@todo -
PrettyPrint
# genspace -> Proc (12201.0) -
空白を生成する Proc を返します。
空白を生成する Proc を返します。 -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (12201.0) -
属性の名前空間の URI を返します。
... nil を返します。
@param arg この値を指定すると、その属性の名前空間でなく、arg という名前空間
の URI が返されます。
通常は省略します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("xmlns:n......s", "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"
//}... -
REXML
:: Attributes # namespaces -> { String => String } (12201.0) -
self の中で宣言されている名前空間の集合を返します。
...ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
p doc.root.attributes.namespaces
# => {"foo"=>"http://exam......ple.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}... -
REXML
:: DocType # namespaces -> nil (12201.0) -
nil を返します。
...nil を返します。...