種類
ライブラリ
- ビルトイン (180)
-
irb
/ cmd / chws (48) -
irb
/ cmd / pushws (72) -
irb
/ context (36) -
irb
/ workspace (12) - json (132)
- objspace (132)
- prettyprint (36)
- rake (72)
-
rdoc
/ markup (12) - rexml (12)
-
rexml
/ document (300) -
rinda
/ rinda (84) -
rinda
/ tuplespace (84) - scanf (24)
-
webrick
/ httputils (12)
クラス
-
IRB
:: Context (36) -
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
JSON
:: State (84) -
ObjectSpace
:: WeakMap (24) - PrettyPrint (36)
-
RDoc
:: Markup (12) -
REXML
:: Attribute (12) -
REXML
:: Attributes (24) -
REXML
:: CData (12) -
REXML
:: DocType (12) -
REXML
:: Element (84) -
REXML
:: Text (12) -
REXML
:: XPath (36) -
Rake
:: NameSpace (36) -
Rinda
:: TupleSpace (72) -
Rinda
:: TupleSpaceProxy (72) -
Scanf
:: FormatSpecifier (6) -
Scanf
:: FormatString (6) - String (12)
モジュール
- JSON (48)
- Kernel (12)
- ObjectSpace (252)
-
REXML
:: Namespace (96) -
Rake
:: TaskManager (12) -
WEBrick
:: HTTPUtils (12)
キーワード
- ChangeWorkspace (12)
- CurrentWorkingWorkspace (12)
- ISSPACE (12)
- NameSpace (12)
- Namespace (12)
- ObjectSpace (12)
- PopWorkspace (12)
- PushWorkspace (12)
- Ruby用語集 (12)
- SPACE (12)
- TupleSpace (12)
- TupleSpaceProxy (12)
- UndefinedConversionError (12)
- UndefinedNamespaceException (12)
- WeakMap (12)
- WorkSpace (12)
- Workspaces (12)
- [] (24)
- []= (12)
-
_ id2ref (12) -
add
_ namespace (24) -
allocation
_ sourcefile (12) -
allocation
_ sourceline (12) - attribute (12)
-
count
_ nodes (12) -
count
_ objects (12) -
count
_ objects _ size (12) -
count
_ space? (6) -
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) -
irb
/ ext / workspaces (12) -
irb
/ workspace (12) -
local
_ name (12) - match (12)
-
memsize
_ of (12) -
memsize
_ of _ all (12) - name (12)
- name= (12)
- namespace (36)
- namespaces (36)
- new (84)
- notify (24)
- objspace (12)
- prefix (12)
- prefix= (12)
-
pretty
_ generate (12) -
pretty
_ unparse (12) -
rake
/ classic _ namespace (12) -
reachable
_ objects _ from (12) - read (24)
-
read
_ all (24) -
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - scanf (12)
-
singleline
_ format (12) - space= (12)
-
space
_ before (12) -
space
_ before= (12) - take (24)
- tasks (12)
-
to
_ h (12) -
to
_ hash (12) -
trace
_ object _ allocations (12) -
trace
_ object _ allocations _ start (12) -
trace
_ object _ allocations _ stop (12) -
undefine
_ finalizer (12) - unparse (12)
- whitespace (12)
- workspace (12)
- workspace= (12)
- write (24)
- 正規表現 (12)
検索結果
先頭5件
-
JSON
:: State # space _ before=(string) (6125.0) -
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の 前に挿入する文字列をセットします。
...quire "json"
json_state = 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.space_before = " "
json_state.space_before # => " "
puts JSON.gen... -
RDoc
:: Markup :: SPACE -> ?\s (6101.0) -
空白文字です。?\s を返します。ライブラリの内部で使用します。
空白文字です。?\s を返します。ライブラリの内部で使用します。 -
Scanf
:: FormatSpecifier # count _ space? (6101.0) -
@todo
@todo -
IRB
:: Context # workspace=(val) (6100.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
PrettyPrint
# genspace -> Proc (6100.0) -
空白を生成する Proc を返します。
空白を生成する Proc を返します。 -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (6100.0) -
属性の名前空間の URI を返します。
...//emlist[][ruby]{
require 'rexml/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"
//}... -
REXML
:: Attributes # namespaces -> { String => String } (6100.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
# => {}
//}... -
REXML
:: DocType # namespaces -> nil (6100.0) -
nil を返します。
nil を返します。 -
REXML
:: Element # add _ namespace(prefix , uri) -> self (6100.0) -
名前空間を要素に追加します。
...ルトの namespace の uri を指定します。
既に同じ prefix が存在する場合はそれが上書きされます。
@param prefix 名前空間の prefix
@param uri 名前空間の uri
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new("a")
a.add_namespace("xmlns:foo", "......bar" )
a.add_namespace("foo", "bar") # 上と同じ意味
a.add_namespace("twiddle")
a.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
a.add_namespace("foo", "baz")
a.to_s # => "<a xmlns:foo='baz' xmlns='twiddle'/>"
//}... -
REXML
:: Element # add _ namespace(uri) (6100.0) -
名前空間を要素に追加します。
...ルトの namespace の uri を指定します。
既に同じ prefix が存在する場合はそれが上書きされます。
@param prefix 名前空間の prefix
@param uri 名前空間の uri
//emlist[][ruby]{
require 'rexml/document'
a = REXML::Element.new("a")
a.add_namespace("xmlns:foo", "......bar" )
a.add_namespace("foo", "bar") # 上と同じ意味
a.add_namespace("twiddle")
a.to_s # => "<a xmlns:foo='bar' xmlns='twiddle'/>"
a.add_namespace("foo", "baz")
a.to_s # => "<a xmlns:foo='baz' xmlns='twiddle'/>"
//}...