984件ヒット
[1-100件を表示]
(0.037秒)
別のキーワード
ライブラリ
- ビルトイン (144)
-
irb
/ cmd / chws (24) -
irb
/ cmd / pushws (36) -
irb
/ context (24) - json (108)
- objspace (120)
- prettyprint (36)
- rake (48)
-
rdoc
/ markup (12) -
rexml
/ document (252) -
rinda
/ rinda (72) -
rinda
/ tuplespace (72) - scanf (12)
-
webrick
/ httputils (12)
クラス
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
JSON
:: State (60) -
ObjectSpace
:: WeakMap (12) - PrettyPrint (36)
-
RDoc
:: Markup (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (24) -
REXML
:: CData (12) -
REXML
:: DocType (12) -
REXML
:: Element (72) -
REXML
:: Text (12) -
REXML
:: XPath (36) -
Rake
:: NameSpace (24) -
Rinda
:: TupleSpace (72) -
Rinda
:: TupleSpaceProxy (72) - String (12)
モジュール
- JSON (48)
- Kernel (12)
- ObjectSpace (240)
-
REXML
:: Namespace (72) -
Rake
:: TaskManager (12) -
WEBrick
:: HTTPUtils (12)
キーワード
- UndefinedConversionError (12)
- [] (24)
-
_ id2ref (12) -
add
_ namespace (12) -
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - attribute (12)
-
count
_ nodes (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ tdata _ objects (12) -
define
_ finalizer (24) -
delete
_ namespace (12) - each (12)
-
each
_ object (48) - escape (12)
- execute (60)
- first (12)
- format (12)
-
garbage
_ collect (12) - generate (12)
- genspace (12)
-
get
_ attribute _ ns (12) -
has
_ name? (12) -
in
_ namespace (12) -
local
_ name (12) - match (12)
-
memsize
_ of (12) -
memsize
_ of _ all (12) - name (12)
- namespace (36)
- namespaces (36)
- new (72)
- notify (24)
- prefix (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
reachable
_ objects _ from (12) - read (24)
-
read
_ all (24) - scanf (12)
-
singleline
_ format (12) - space (12)
-
space
_ before (12) - take (24)
- tasks (12)
-
to
_ h (12) -
to
_ hash (12) -
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) -
undefine
_ finalizer (12) - unparse (12)
- whitespace (12)
- workspace (12)
- write (24)
- 正規表現 (12)
検索結果
先頭5件
-
RDoc
:: Markup :: SPACE -> ?\s (18201.0) -
空白文字です。?\s を返します。ライブラリの内部で使用します。
空白文字です。?\s を返します。ライブラリの内部で使用します。 -
REXML
:: Attributes # namespaces -> { String => String } (6306.0) -
self の中で宣言されている名前空間の集合を返します。
...p://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://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}... -
Rake
:: TaskManager # in _ namespace(name) {|name _ space| . . . } -> Array (6301.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
//}... -
IRB
:: Context # workspace -> IRB :: WorkSpace (6300.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
Kernel
# namespace(name = nil) { . . . } -> Rake :: NameSpace (6300.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 (6300.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/>"
//}... -
REXML
:: Element # namespaces -> {String => String} (6300.0) -
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"}
//}... -
JSON
:: State # space -> String (6225.0) -
JSON 形式の文字列のトークン間に挿入する文字列を返します。
...son"
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, { n......ame: "tanaka", age: 19 }], json_state)
# => [1,2,{"name": "tanaka","age": 19}]
//}... -
JSON
:: State # space _ before -> String (6225.0) -
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の 前に挿入する文字列を返します。
...ate = JSON::State.new(space_before: "")
json_state.space_before # => ""
puts JSON.generate([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name":"tanaka","age":19}]
json_state = JSON::State.new(space_before: " ")
json_state.space_before # => " "
puts JSON.genera......te([1, 2, { name: "tanaka", age: 19 }], json_state)
# => [1,2,{"name" :"tanaka","age" :19}]
//}...