1704件ヒット
[1-100件を表示]
(0.107秒)
種類
ライブラリ
- ビルトイン (819)
- bigdecimal (12)
- csv (36)
- ipaddr (12)
-
irb
/ context (84) -
irb
/ ext / math-mode (8) -
irb
/ inspector (84) -
irb
/ output-method (24) - matrix (24)
-
minitest
/ unit (1) -
net
/ smtp (12) - openssl (36)
- optparse (12)
- ostruct (36)
- pp (36)
- rake (36)
-
rdoc
/ context (12) - set (14)
-
shell
/ filter (6) - socket (36)
- strscan (12)
- thwait (24)
-
win32
/ registry (12) - win32ole (24)
- zlib (12)
クラス
-
ARGF
. class (24) - Addrinfo (24)
- Array (24)
- BigDecimal (12)
- Bignum (6)
- CSV (12)
-
CSV
:: Row (12) -
CSV
:: Table (12) - Complex (12)
- Data (6)
- Dir (12)
- Encoding (12)
-
Encoding
:: Converter (12) -
Enumerator
:: ArithmeticSequence (7) -
Enumerator
:: Chain (7) - Exception (12)
- FalseClass (24)
- Fixnum (6)
- Float (24)
- Hash (36)
- IPAddr (12)
-
IRB
:: Context (92) -
IRB
:: Inspector (48) -
IRB
:: OutputMethod (24) - Integer (24)
- MatchData (12)
- Matrix (12)
- Method (24)
- Module (36)
-
Net
:: SMTP (12) - Object (48)
-
OpenSSL
:: HMAC (36) - OpenStruct (36)
-
OptionParser
:: ParseError (12) - Proc (24)
-
Process
:: Status (12) -
RDoc
:: Context :: Section (12) -
Rake
:: Task (12) -
Rake
:: TaskArguments (24) - Range (24)
- Rational (24)
- Regexp (24)
-
RubyVM
:: AbstractSyntaxTree :: Node (7) -
RubyVM
:: InstructionSequence (12) - Set (20)
-
Shell
:: Filter (6) -
Socket
:: Ifaddr (12) - String (24)
- StringScanner (12)
- Struct (24)
- Symbol (12)
- Thread (42)
-
Thread
:: Backtrace :: Location (12) - ThreadsWait (24)
- Time (12)
- TracePoint (12)
- TrueClass (12)
- UnboundMethod (36)
- Vector (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12) -
Win32
:: Registry (12) -
Zlib
:: GzipFile :: Error (12)
モジュール
- IRB (12)
- Kernel (132)
-
MiniTest
:: Assertions (1)
オブジェクト
- ENV (12)
キーワード
- % (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - INSPECTORS (12)
- InspectKey (12)
- Inspector (24)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NO
_ INSPECTING _ IVARS (12) - Numeric (12)
- Thread (12)
- [] (12)
-
_ _ inspect _ _ (12) - ` (12)
- abort (24)
-
all
_ waits (18) -
bind
_ call (12) - cgi (12)
-
def
_ inspector (12) -
default
_ proc (12) -
drb
/ gw (12) - exit (12)
- format (12)
- handler= (12)
- hexdigest (12)
- init (12)
- inspect? (12)
-
inspect
_ i (12) -
inspect
_ mode (12) -
inspect
_ mode= (12) -
inspect
_ obj (12) -
inspect
_ sockaddr (12) -
inspect
_ value (12) - irb (12)
-
irb
/ completion (12) -
irb
/ ext / math-mode (4) -
irb
/ inspector (12) -
keys
_ with _ inspector (12) - math? (4)
-
math
_ mode (4) -
mu
_ pp (1) - name (12)
- name= (10)
- new (24)
- p (12)
- pp (12)
- ppx (12)
-
pretty
_ inspect (12) -
pretty
_ print (12) -
pretty
_ print _ inspect (12) -
rb
_ inspect (12) -
rb
_ obj _ inspect (12) -
rb
_ thread _ inspect (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) - sprintf (12)
- sprintf フォーマット (12)
-
to
_ s (241) -
trace
_ var (36) -
untrace
_ var (12) - クラス/メソッドの定義 (12)
- スレッド (12)
- パターンマッチ (12)
検索結果
先頭5件
-
VALUE rb
_ inspect(VALUE obj) (32216.0) -
obj.inspect の実体。
...obj.inspect の実体。... -
static VALUE rb
_ obj _ inspect(VALUE obj) (32216.0) -
Object#inspect の実体です。
...Object#inspect の実体です。... -
static VALUE rb
_ thread _ inspect(VALUE thread) (32200.0) -
-
OptionParser
:: ParseError # inspect -> String (24207.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...自身を人間が読みやすい形の文字列表現にして返します。
@return 文字列を返します。
@see Object#inspect... -
RubyVM
:: InstructionSequence # inspect -> String (24207.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
...んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path... -
Range
# inspect -> String (21229.0) -
self を文字列に変換します(始端と終端のオブジェクトは #inspect メソッド で文字列に変換されます)。
...self を文字列に変換します(始端と終端のオブジェクトは #inspect メソッド
で文字列に変換されます)。
@see Range#to_s
//emlist[例][ruby]{
(1..5).inspect # => "1..5"
("1".."5").inspect # => "\"1\"..\"5\""
//}... -
Rational
# inspect -> String (21225.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... -
String
# inspect -> String (21225.0) -
文字列オブジェクトの内容を、出力したときに人間が読みやすいような適当な形式に変換します。 変換された文字列は印字可能な文字のみによって構成されます
...では、Ruby のリテラル形式を使って、
文字列中の不可視文字をエスケープシーケンスに変換します。
このメソッドは主にデバッグのために用意されています。
永続化などの目的で文字列をダンプしたいときは、
String#dump......を使うべきです。
//emlist[例][ruby]{
# p ではないことに注意
puts "string".inspect # => "string"
puts "\t\r\n".inspect # => "\t\r\n"
//}
@see String#dump... -
StringScanner
# inspect -> String (21225.0) -
StringScannerオブジェクトを表す文字列を返します。
...StringScannerオブジェクトを表す文字列を返します。
文字列にはクラス名の他、以下の情報が含まれます。
* スキャナポインタの現在位置。
* スキャン対象の文字列の長さ。
* スキャンポインタの前後にある文字。....../emlist[例][ruby]{
require 'strscan'
s = StringScanner.new('test string')
s.inspect # => "#<StringScanner 0/11 @ \"test ...\">"
s.scan(/\w+/) # => "test"
s.inspect # => "#<StringScanner 4/11 \"test\" @ \" stri...\">"
s.sc......an(/\s+/) # => " "
s.inspect # => "#<StringScanner 5/11 \"test \" @ \"strin...\">"
s.scan(/\w+/) # => "string"
s.inspect # => "#<StringScanner fin>"
//}...