るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.029秒)
トップページ > バージョン:2.2.0[x] > クエリ:IO[x] > クエリ:on[x] > クエリ:tr[x] > クエリ:base[x]

別のキーワード

  1. optparse on
  2. optionparser on
  3. tracer on
  4. thread abort_on_exception
  5. socket udp_server_loop_on

検索結果

CGI::HtmlExtension#base(href = "") -> String (72688.0)

base 要素を生成します。

base 要素を生成します。

@param href 文字列を指定します。属性をハッシュで指定することもできます。

例:
base("http://www.example.com/cgi")
# => "<BASE HREF=\"http://www.example.com/cgi\">"

RubyVM::InstructionSequence#base_label -> String (45658.0)

self が表す命令シーケンスの基本ラベルを返します。

self が表す命令シーケンスの基本ラベルを返します。

例1:irb で実行した場合

iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.base_label
# => "<compiled>"

例2: RubyVM::InstructionSequence.compile_file を使用した場合

# /tmp/method.rb
def hello
puts "h...

Thread::Backtrace::Location#base_label -> String (45622.0)

self が表すフレームの基本ラベルを返します。通常、 Thread::Backtrace::Location#label から修飾を取り除いたもので構成 されます。

self が表すフレームの基本ラベルを返します。通常、
Thread::Backtrace::Location#label から修飾を取り除いたもので構成
されます。

//emlist[例][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end

Foo.new(0..2).locations.map do |call|
puts call.base_label
end

# => init...

Etc::SC_THREAD_DESTRUCTOR_ITERATIONS -> Integer (27913.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

RubyVM::InstructionSequence#label -> String (27319.0)

self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、 モジュール名などで構成されます。

self が表す命令シーケンスのラベルを返します。通常、メソッド名、クラス名、
モジュール名などで構成されます。

トップレベルでは "<main>" を返します。self を文字列から作成していた場合
は "<compiled>" を返します。

例1:irb で実行した場合

iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.label
# => "<compiled>"

例2: R...

絞り込み条件を変える

Thread::Backtrace::Location#label -> String (27319.0)

self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ ジュール名などで構成されます。

self が表すフレームのラベルを返します。通常、メソッド名、クラス名、モ
ジュール名などで構成されます。

例: Thread::Backtrace::Location の例1を用いた例

//emlist[][ruby]{
loc = c(0..1).first
loc.label # => "a"
//}

@see Thread::Backtrace::Location#base_label

Etc::SC_JOB_CONTROL -> Integer (18613.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Win32::Registry.new(key, subkey, desired = KEY_READ, opt = REG_OPTION_RESERVED) (9619.0)

@todo

@todo

レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)

desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。

* Registry Key Security and Access Rights: http://msdn.mic...

Win32::Registry.new(key, subkey, desired = KEY_READ, opt = REG_OPTION_RESERVED) {|reg| ... } (9619.0)

@todo

@todo

レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)

desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。

* Registry Key Security and Access Rights: http://msdn.mic...

Win32::Registry.open(key, subkey, desired = KEY_READ, opt = REG_OPTION_RESERVED) (9619.0)

@todo

@todo

レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)

desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。

* Registry Key Security and Access Rights: http://msdn.mic...

絞り込み条件を変える

Win32::Registry.open(key, subkey, desired = KEY_READ, opt = REG_OPTION_RESERVED) {|reg| ... } (9619.0)

@todo

@todo

レジストリキー key 下のキー subkey を開き,
開いたキーを表す Win32::Registry オブジェクトを返します。
key は親のキーを Win32::Registry オブジェクトで指定します。
親のキーには定義済キー HKEY_* を使用できます (⇒Win32::Registry::Constants)

desired はアクセスマスクです。opt はキーのオプションです。
詳細は以下の MSDN Library を参照してください。

* Registry Key Security and Access Rights: http://msdn.mic...