1398件ヒット
[1-100件を表示]
(0.098秒)
別のキーワード
ライブラリ
- ビルトイン (132)
- digest (12)
-
irb
/ cmd / load (24) -
irb
/ context (24) -
json
/ add / exception (12) - logger (12)
- mkmf (72)
-
net
/ http (156) -
net
/ pop (12) - pathname (540)
- rake (24)
-
rake
/ testtask (24) -
rexml
/ document (96) - rubygems (12)
-
rubygems
/ custom _ require (12) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ uninstaller (12) - shell (30)
-
shell
/ command-processor (6) -
shell
/ filter (6) - uri (12)
-
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htgroup (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httprequest (36) -
webrick
/ httpserver (12) - win32ole (12)
- zlib (12)
クラス
-
Digest
:: Base (12) - Exception (24)
-
Gem
:: GemPathSearcher (24) -
Gem
:: Uninstaller (12) -
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Source (12) - Logger (12)
-
Net
:: HTTP (108) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: POP3 (12) - Pathname (540)
-
REXML
:: Attribute (12) -
REXML
:: Element (36) -
REXML
:: Elements (48) -
Rake
:: TestTask (24) -
RubyVM
:: InstructionSequence (48) - Shell (30)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - String (12)
- Thread (24)
-
Thread
:: Backtrace :: Location (48) -
URI
:: Generic (12) -
WEBrick
:: Cookie (24) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htgroup (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (36) -
WEBrick
:: HTTPServer :: MountTable (12) -
WIN32OLE
_ TYPELIB (12) -
Zlib
:: GzipFile (12)
モジュール
- FileUtils (12)
-
Gem
:: RequirePathsBuilder (12) - Kernel (96)
キーワード
- == (12)
- === (12)
- absolute? (12)
-
absolute
_ path (24) -
backtrace
_ locations (24) - basename (12)
- binread (12)
- binwrite (12)
- birthtime (11)
- blockdev? (12)
-
body
_ stream (12) -
body
_ stream= (12) - cd (6)
- chardev? (12)
- chdir (6)
- collect (12)
- directory? (12)
- each (12)
- empty? (9)
-
enable
_ ssl (12) - eql? (12)
- executable? (12)
-
executable
_ real? (12) - execute (24)
- exist? (12)
- file (12)
- file? (12)
-
find
_ executable (12) -
find
_ header (12) -
find
_ library (24) - flush (36)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
- formatter (12)
- gem (12)
- get (12)
-
get
_ text (12) - glob (16)
- grpowned? (12)
- hierarchical? (12)
- inject (12)
- inspect (24)
-
irb
_ path (12) -
irb
_ path= (12) -
lib
_ dirs _ for (12) - libpathflag (12)
- libs (12)
- libs= (12)
-
link
_ command (12) - lock (12)
-
matching
_ file? (12) - mkcol (12)
- mountpoint? (12)
- move (12)
- open (12)
- owned? (12)
- patch (12)
- path= (12)
-
path
_ info (12) -
path
_ info= (12) -
path
_ ok? (12) - pathmap (12)
- pipe? (12)
- post (12)
- propfind (12)
- proppatch (12)
- pushd (6)
- pushdir (6)
-
read
_ body (24) - readable? (12)
-
readable
_ real? (12) - realdirpath (12)
- realpath (12)
- relative? (12)
-
relative
_ path _ from (12) - require (12)
- root? (12)
- scan (12)
-
set
_ backtrace (12) - setgid? (12)
- setuid? (12)
- size? (12)
- socket? (12)
-
split
_ all (12) - sticky? (12)
- sub (24)
-
sub
_ ext (12) - symlink? (12)
- text (12)
-
to
_ a (24) -
to
_ json (12) -
to
_ s (12) - unlock (12)
-
world
_ readable? (12) -
world
_ writable? (12) - writable? (12)
-
writable
_ real? (12) -
write
_ require _ paths _ file _ if _ needed (12) - xpath (24)
- zero? (12)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # path -> String (21120.0) -
self が表す命令シーケンスの相対パスを返します。
...ます。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.path
# => "<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... -
Zlib
:: GzipFile # path -> String (21118.0) -
関連付けられている IO オブジェクトのパスを返します。 このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。
...関連付けられている IO オブジェクトのパスを返します。
このメソッドは IO オブジェクトが path というメソッドを持つ場合のみ定義されます。... -
Thread
:: Backtrace :: Location # path -> String (21114.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... -
WIN32OLE
_ TYPELIB # path -> String (21108.0) -
TypeLibのパス名を取得します。
...TypeLibのパス名を取得します。
@return TypeLibのパス名を文字列で返します。この値はレジストリの登録値を
そのまま利用するため、Rubyのパス名形式(ディレクトリ区切りは
「/」)ではなく、Windowsのパス名形式(......です。
@raise WIN32OLERuntimeError TypeLibの属性が読み取れない場合に通知します。
tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts tlib.path # => 'C:\...\EXCEL.EXE'
TypeLibは拡張子TLB(まれにOLB)という独立したファイルの場合... -
WEBrick
:: Cookie # path -> String (21103.0) -
パス名を文字列で表すアクセサです。
パス名を文字列で表すアクセサです。
@param value パス名を文字列で指定します。 -
WEBrick
:: HTTPRequest # path -> String (21102.0) -
リクエスト URI のパスを表す文字列を返します。
リクエスト URI のパスを表す文字列を返します。 -
Kernel
# libpathflag(libpath = $ DEFLIBPATH| $ LIBPATH) -> String (12801.0) -
与えられた libpath を -L 付きの文字列に変換して返します。
...与えられた libpath を -L 付きの文字列に変換して返します。
@param libpath LIBPATH に指定する値を指定します。... -
Thread
:: Backtrace :: Location # absolute _ path -> String (12232.0) -
self が表すフレームの絶対パスを返します。
...][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.absolute_path
end
# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}
@see Thread::Backtrace::Location#path... -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (12220.0) -
self が表す命令シーケンスの絶対パスを返します。
...ます。
例1:irb で実行した場合
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello......puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see RubyVM::InstructionSequence#path...