984件ヒット
[1-100件を表示]
(0.047秒)
ライブラリ
- ビルトイン (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 (240) -
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
:: 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)
キーワード
- Ruby用語集 (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 (60)
- 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 を返します。ライブラリの内部で使用します。 -
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/>"
//}... -
JSON
:: State # space -> String (6225.0) -
JSON 形式の文字列のトークン間に挿入する文字列を返します。
...equire "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([... -
JSON
:: State # space _ before -> String (6225.0) -
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の 前に挿入する文字列を返します。
...on"
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 = JSON::State.new(space_before: " ")
json_state.space_before # => " "
puts... -
PrettyPrint
# genspace -> Proc (6200.0) -
空白を生成する Proc を返します。
空白を生成する Proc を返します。 -
REXML
:: Attribute # namespace(arg = nil) -> String | nil (6200.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"
//}...