592件ヒット
[1-100件を表示]
(0.131秒)
ライブラリ
- ビルトイン (307)
- bigdecimal (11)
- csv (11)
-
irb
/ context (22) -
irb
/ ext / math-mode (8) -
irb
/ inspector (33) - openssl (33)
-
shell
/ filter (6) - socket (11)
- thwait (18)
- win32ole (22)
- zlib (11)
クラス
-
ARGF
. class (22) - Addrinfo (11)
- BigDecimal (11)
-
CSV
:: Table (11) - Complex (11)
- FalseClass (22)
- Float (22)
- Hash (11)
-
IRB
:: Context (30) -
IRB
:: Inspector (22) - Module (44)
- Object (11)
-
OpenSSL
:: HMAC (33) - Rational (22)
-
Shell
:: Filter (6) - Symbol (11)
- Thread (11)
-
Thread
:: Backtrace :: Location (11) - ThreadsWait (18)
- TrueClass (11)
- UnboundMethod (10)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ TYPE (11) -
Zlib
:: GzipFile :: Error (11)
キーワード
- Inspector (11)
- [] (11)
- ` (11)
-
all
_ waits (18) -
bind
_ call (10) -
const
_ missing (11) -
def
_ inspector (11) -
default
_ proc (11) - exit (11)
- format (11)
- handler= (11)
- hexdigest (11)
-
initialize
_ copy (11) - inspect? (11)
-
inspect
_ i (11) -
inspect
_ mode (11) -
inspect
_ obj (11) -
inspect
_ value (11) - irb (11)
-
irb
/ completion (11) - math? (4)
-
math
_ mode (4) -
method
_ inspect (11) - name (11)
- new (11)
-
rb
_ inspect (11) -
rb
_ obj _ inspect (11) -
rb
_ thread _ inspect (11) -
ruby 1
. 8 . 2 feature (11) - sprintf (11)
-
to
_ s (66) -
trace
_ var (33) -
untrace
_ var (11)
検索結果
先頭5件
-
static VALUE inspect
_ obj(VALUE obj , VALUE str) (32500.0) -
-
static int inspect
_ i(ID id , VALUE value , VALUE str) (32500.0) -
-
irb
/ completion (32018.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Objec......がでます.
irb(main):003:0> foo.
foo.== foo.frozen? foo.protected_methods
foo.=== foo.hash foo.public_methods
foo.=~ foo.id foo.respond_to?
foo.__id__ foo.inspect foo.... -
WIN32OLE
_ TYPE # inspect -> String (30307.0) -
selfを説明的な文字列で表現します。
...selfを説明的な文字列で表現します。
@return "#<WIN32OLE_TYPE"とWIN32OLE_TYPE#to_sの結果を「:」で結合
し、「>」で閉じた文字列を返します。
x = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
puts x.inspect #=> #<WIN32OLE_TY......PE:Worksheet>
@see WIN32OLE_TYPE#to_s... -
Complex
# inspect -> String (27367.0) -
自身を人間が読みやすい形の文字列表現にして返します。
.../emlist[例][ruby]{
Complex(2).inspect # => "(2+0i)"
Complex('-8/6').inspect # => "((-4/3)+0i)"
Complex('1/2i').inspect # => "(0+(1/2)*i)"
Complex(0, Float::INFINITY).inspect # => "(0+Infinity*i)"
Complex(Float::NAN, Float::NAN).inspect #......=> "(NaN+NaN*i)"
//}... -
Rational
# inspect -> String (27325.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...に10進数の表記を返します。
@return 有理数の表記にした文字列を返します。
//emlist[例][ruby]{
Rational(5, 8).inspect # => "(5/8)"
Rational(2).inspect # => "(2/1)"
Rational(-8, 6).inspect # => "(-4/3)"
Rational(0.5).inspect # => "(1/2)"
//}
@see Rational#to_s... -
BigDecimal
# inspect -> String (27307.0) -
BigDecimal オブジェクトを表す文字列を返します。
...BigDecimal オブジェクトを表す文字列を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1234.5678").inspect
# => "0.12345678e4"
//}... -
CSV
:: Table # inspect -> String (27307.0) -
モードとサイズを US-ASCII な文字列で返します。
...モードとサイズを US-ASCII な文字列で返します。
//emlist[][ruby]{
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
p table.inspect # => "#<CSV::Table mode:col_or_row row_count:2>"
//}... -
Shell
:: Filter # inspect -> String (27307.0) -
オブジェクトを人間が読める形式に変換した文字列を返します。
...オブジェクトを人間が読める形式に変換した文字列を返します。
@see Object#inspect... -
Symbol
# inspect -> String (27307.0) -
自身を人間に読みやすい文字列にして返します。
...自身を人間に読みやすい文字列にして返します。
:fred.inspect #=> ":fred"...