1157件ヒット
[1-100件を表示]
(0.209秒)
ライブラリ
- ビルトイン (660)
- bigdecimal (12)
- csv (36)
- ipaddr (12)
-
irb
/ context (72) -
irb
/ ext / math-mode (8) -
irb
/ inspector (24) -
irb
/ output-method (24) - matrix (24)
-
minitest
/ unit (1) -
net
/ smtp (12) - openssl (36)
- optparse (12)
- ostruct (24)
- pp (36)
- rake (36)
-
rdoc
/ context (12) - set (14)
-
shell
/ filter (6) - socket (24)
- strscan (12)
- sync (6)
- thwait (6)
-
win32
/ registry (12) - win32ole (24)
- zlib (12)
クラス
-
ARGF
. class (24) - Addrinfo (12)
- 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 (80) -
IRB
:: Inspector (24) -
IRB
:: OutputMethod (24) - Integer (24)
- MatchData (12)
- Matrix (12)
- Method (24)
- Module (51)
-
Net
:: SMTP (12) - Object (60)
-
OpenSSL
:: HMAC (36) - OpenStruct (24)
-
OptionParser
:: ParseError (12) - Proc (24)
-
Process
:: Status (12) -
RDoc
:: Context :: Section (12) -
Rake
:: Task (12) -
Rake
:: TaskArguments (24) - Range (24)
- Rational (12)
- 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 (6)
- Time (6)
- TracePoint (12)
- TrueClass (12)
- UnboundMethod (36)
- Vector (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12) -
Win32
:: Registry (12) -
Zlib
:: GzipFile :: Error (12)
モジュール
-
MiniTest
:: Assertions (1) -
Sync
_ m (6)
キーワード
- % (12)
- [] (12)
-
_ _ inspect _ _ (12) -
all
_ waits (6) -
bind
_ call (12) -
const
_ added (3) -
const
_ missing (12) -
default
_ proc (12) - handler= (12)
- hexdigest (12)
- init (12)
-
initialize
_ copy (12) - inspect? (12)
-
inspect
_ mode (12) -
inspect
_ mode= (12) -
inspect
_ sockaddr (12) -
inspect
_ value (12) - math? (4)
-
math
_ mode (4) -
mu
_ pp (1) - name (12)
- name= (10)
- pp (12)
- ppx (12)
-
pretty
_ inspect (12) -
pretty
_ print (12) -
pretty
_ print _ inspect (12) -
sync
_ inspect (6) -
to
_ s (229)
検索結果
先頭5件
-
Object
# inspect -> String (27232.0) -
オブジェクトを人間が読める形式に変換した文字列を返します。
...組み込み関数 Kernel.#p は、このメソッドの結果を使用して
オブジェクトを表示します。
//emlist[][ruby]{
[ 1, 2, 3..4, 'five' ].inspect # => "[1, 2, 3..4, \"five\"]"
Time.new.inspect # => "2008-03-08 19:43:39 +0900"
//}
inspect メソッドをオ......変数の名前、値の組を元にした文字列を返します。
//emlist[][ruby]{
class Foo
end
Foo.new.inspect # => "#<Foo:0x0300c868>"
class Bar
def initialize
@bar = 1
end
end
Bar.new.inspect # => "#<Bar:0x0300c868 @bar=1>"
//}
@see Kernel.#p... -
BigDecimal
# inspect -> String (27214.0) -
BigDecimal オブジェクトを表す文字列を返します。
...BigDecimal オブジェクトを表す文字列を返します。
//emlist[][ruby]{
require "bigdecimal"
BigDecimal("1234.5678").inspect
# => "0.12345678e4"
//}... -
OptionParser
:: ParseError # inspect -> String (27208.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...自身を人間が読みやすい形の文字列表現にして返します。
@return 文字列を返します。
@see Object#inspect... -
TrueClass
# inspect -> String (27208.0) -
常に文字列 "true" を返します。
...常に文字列 "true" を返します。
//emlist[例][ruby]{
true.inspect # => "true"
//}... -
Enumerator
:: ArithmeticSequence # inspect -> String (27202.0) -
自身を人間が読みやすい形の文字列表現にして返します。
自身を人間が読みやすい形の文字列表現にして返します。 -
FalseClass
# inspect -> String (27202.0) -
常に文字列 "false" を返します。
...常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//}... -
Vector
# inspect -> String (27202.0) -
オブジェクトの内容を文字列化します。
オブジェクトの内容を文字列化します。 -
Complex
# inspect -> String (24232.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... -
Range
# inspect -> String (24230.0) -
self を文字列に変換します(始端と終端のオブジェクトは #inspect メソッド で文字列に変換されます)。
...self を文字列に変換します(始端と終端のオブジェクトは #inspect メソッド
で文字列に変換されます)。
@see Range#to_s
//emlist[例][ruby]{
(1..5).inspect # => "1..5"
("1".."5").inspect # => "\"1\"..\"5\""
//}...