るりまサーチ

最速Rubyリファレンスマニュアル検索!
1146件ヒット [1-100件を表示] (0.154秒)
トップページ > クエリ:n[x] > クエリ:space[x]

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. openssl n
  5. openssl n=

ライブラリ

モジュール

検索結果

<< 1 2 3 ... > >>

JSON::State#space -> String (21225.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 (21101.0)

@todo

@todo

Rake::TaskManager#in_namespace(name) {|name_space| ... } -> Array (15301.0)

与えられた名前の名前空間でブロックを評価します。

...ます。

@param name 名前を指定します。

//emlist[][ruby]{
# Rakefile での記載例とする

task default: :test_rake_app

n
amespace :sample do
def hoge
puts "hoge"
end
end

task :test_rake_app do
task.application.in_namespace("sample") do
hoge # => "hoge"
end
end
//}...

IRB::ExtendCommand::ChangeWorkspace (15000.0)

irb 中の irb_change_workspace コマンドのための拡張を定義したクラスです。

...irb 中の irb_change_workspace コマンドのための拡張を定義したクラスです。...

IRB::ExtendCommand::CurrentWorkingWorkspace (15000.0)

irb 中の irb_current_working_workspace コマンドのための拡張を定義したク ラスです。

...irb 中の irb_current_working_workspace コマンドのための拡張を定義したク
ラスです。...

絞り込み条件を変える

Kernel#namespace(name = nil) { ... } -> Rake::NameSpace (12500.0)

新しい名前空間を作成します。

...新しい名前空間を作成します。

与えられたブロックを評価する間は、その名前空間を使用します。

例:
n
s = 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 (12400.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? (12201.0)

@todo

@todo

PrettyPrint#genspace -> Proc (12200.0)

空白を生成する Proc を返します。

空白を生成する Proc を返します。

REXML::Attribute#namespace(arg = nil) -> String | nil (12200.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"
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>