るりまサーチ

最速Rubyリファレンスマニュアル検索!
264件ヒット [201-264件を表示] (0.009秒)
トップページ > クエリ:absolute[x]

別のキーワード

  1. _builtin absolute_path
  2. pathname absolute?
  3. uri absolute
  4. uri absolute?
  5. name absolute?

検索結果

<< < 1 2 3 >>

Process::CLOCK_MONOTONIC -> Integer | Symbol (6.0)

Process.#clock_gettime で使われます。

...Process.#clock_gettime で使われます。

システムによっては :MACH_ABSOLUTE_TIME_BASED_CLOCK_MONOTONIC です。
システムによっては定義されていません。...

RubyVM::InstructionSequence#path -> String (6.0)

self が表す命令シーケンスの相対パスを返します。

..."<compiled>"

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

# /tmp/method.rb
def hello
puts "hello, world"
end

# irb
> iseq = RubyVM::InstructionSequence.compile_file('method.rb')
> iseq.path # => "method.rb"

@see RubyVM::InstructionSequence#absolute_path...

RubyVM::InstructionSequence#to_a -> Array (6.0)

self の情報を 14 要素の配列にして返します。

...た場合は
"<compiled>"。

: #path

命令シーケンスの相対パス。文字列から作成していた場合は "<compiled>"。

: #absolute_path

命令シーケンスの絶対パス。文字列から作成していた場合は nil。

: #first_lineno

命令シーケンスの 1...

Thread::Backtrace::Location#path -> String (6.0)

self が表すフレームのファイル名を返します。

...self が表すフレームのファイル名を返します。

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

//emlist[][ruby]{
loc = c(0..1).first
loc.path # => "caller_locations.rb"
//}

@see Thread::Backtrace::Location#absolute_path...

URI::Generic#-(src) -> URI::Generic (6.0)

与えられた URI を表す src からの相対パスを返します。

...られた URI を表す src からの相対パスを返します。

@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。

例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x201...

絞り込み条件を変える

URI::Generic#route_from(src) -> URI::Generic (6.0)

与えられた URI を表す src からの相対パスを返します。

...られた URI を表す src からの相対パスを返します。

@param src 自身の相対パスを算出するための、ルートとなる Absolute URI を与えます。

例:
require 'uri'
p URI.parse('http://example.com/foo/bar.html') - 'http://example.com/'
#=> #<URI::Generic:0x201...
<< < 1 2 3 >>