618件ヒット
[1-100件を表示]
(0.100秒)
ライブラリ
- ビルトイン (276)
- csv (24)
-
irb
/ input-method (36) -
net
/ http (96) - pathname (84)
-
rubygems
/ source _ info _ cache (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
win32
/ registry (12) - zlib (48)
クラス
-
ARGF
. class (12) -
CSV
:: Row (24) - Exception (12)
- File (12)
-
File
:: Stat (48) -
Gem
:: SourceInfoCache (24) - IO (12)
-
IRB
:: InputMethod (12) -
IRB
:: ReadlineInputMethod (12) -
IRB
:: StdioInputMethod (12) - Module (12)
-
Net
:: HTTP (96) - Object (15)
- Pathname (84)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Thread (69)
-
Thread
:: Backtrace :: Location (84) -
Win32
:: Registry (12) -
Zlib
:: GzipReader (36) -
Zlib
:: GzipWriter (12)
キーワード
-
abort
_ on _ exception= (12) -
absolute
_ path (12) -
attr
_ reader (12) -
backtrace
_ locations (36) -
base
_ label (12) - binread (12)
- birthtime (12)
- each (12)
-
each
_ byte (12) -
each
_ line (12) - fdatasync (12)
- fields (12)
- flock (12)
- get2 (24)
- inspect (12)
- label (12)
- lineno (12)
- path (24)
- post2 (24)
- printf (12)
-
read
_ all _ cache _ data (12) -
read
_ cache _ data (12) - readable? (24)
-
readable
_ atfer _ eof? (36) -
readable
_ real? (24) - readlines (12)
- readlink (30)
-
report
_ on _ exception= (9) -
request
_ get (24) -
request
_ post (24) - status (12)
- terminate (12)
- then (7)
-
to
_ s (12) -
values
_ at (12) -
world
_ readable? (24) - write (12)
-
yield
_ self (8)
検索結果
先頭5件
-
Pathname
# read(*args) -> String | nil (21124.0) -
IO.read(self.to_s, *args)と同じです。
...IO.read(self.to_s, *args)と同じです。
@see IO.read... -
IRB
:: ReadlineInputMethod # readable _ atfer _ eof? -> false (15201.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
Gem
:: SourceInfoCache # read _ all _ cache _ data -> () (12202.0) -
自身に完全なキャッシュファイルの内容をマージします。
自身に完全なキャッシュファイルの内容をマージします。 -
Gem
:: SourceInfoCache # read _ cache _ data(file) -> Hash (12202.0) -
与えられたファイル名からデータを読み込んでキャッシュデータを返します。
与えられたファイル名からデータを読み込んでキャッシュデータを返します。
@param file キャッシュのファイル名を指定します。
@return 内部で例外が発生した場合は、空のハッシュを返します。 -
IRB
:: InputMethod # readable _ atfer _ eof? -> false (12201.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
IRB
:: StdioInputMethod # readable _ atfer _ eof? -> true (12201.0) -
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。
入力が EOF(End Of File)に達した後も読み込みが行えるかどうかを返します。 -
Module
# attr _ reader(*name) -> [Symbol] (12201.0) -
インスタンス変数 name の読み取りメソッドを定義します。
...タンス変数 name の読み取りメソッドを定義します。
//emlist[例][ruby]{
class User
attr_reader :name # => [:name]
# 複数の名前を渡すこともできる
attr_reader :id, :age # => [:id, :age]
end
//}
このメソッドで定義されるメソッドの定義は以下... -
Module
# attr _ reader(*name) -> nil (12201.0) -
インスタンス変数 name の読み取りメソッドを定義します。
インスタンス変数 name の読み取りメソッドを定義します。
このメソッドで定義されるメソッドの定義は以下の通りです。
//emlist[例][ruby]{
def name
@name
end
//}
@param name String または Symbol を 1 つ以上指定します。 -
Thread
:: Backtrace :: Location # absolute _ path -> String (12101.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... -
Thread
:: Backtrace :: Location # path -> String (12101.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...