776件ヒット
[201-300件を表示]
(0.088秒)
ライブラリ
- ビルトイン (406)
- bigdecimal (12)
- ipaddr (12)
-
irb
/ context (24) -
irb
/ ext / math-mode (4) -
irb
/ inspector (12) -
irb
/ output-method (24) - openssl (36)
-
rdoc
/ context (12) - shell (6)
- socket (36)
- thwait (24)
- win32ole (12)
クラス
- Addrinfo (24)
- BigDecimal (12)
- Data (6)
- Dir (12)
- Encoding (12)
-
Encoding
:: Converter (12) - Hash (36)
- IPAddr (12)
-
IRB
:: Context (28) -
IRB
:: Inspector (12) -
IRB
:: OutputMethod (24) - MatchData (12)
- Method (24)
- Module (51)
- Object (12)
-
OpenSSL
:: HMAC (36) -
RDoc
:: Context :: Section (12) -
RubyVM
:: AbstractSyntaxTree :: Node (7) - Shell (6)
-
Socket
:: Ifaddr (12) - String (12)
- Thread (42)
-
Thread
:: Backtrace :: Location (12) - ThreadsWait (24)
- Time (12)
- UnboundMethod (36)
-
WIN32OLE
_ EVENT (12)
モジュール
- Kernel (84)
キーワード
- % (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
NEWS for Ruby 2
. 5 . 0 (8) - Numeric (12)
- Thread (12)
- [] (12)
- ` (12)
-
all
_ waits (18) -
bind
_ call (12) -
const
_ added (3) -
const
_ missing (12) - debug= (6)
-
def
_ inspector (12) -
default
_ proc (12) -
drb
/ gw (12) - exit (12)
- format (12)
- handler= (12)
- hexdigest (12)
-
initialize
_ copy (12) -
inspect
_ i (12) -
inspect
_ mode (12) -
inspect
_ mode= (12) -
inspect
_ sockaddr (12) - irb (12)
-
irb
/ ext / math-mode (4) -
math
_ mode (4) -
method
_ inspect (12) - name (12)
- name= (10)
- new (24)
- pp (12)
- ppx (12)
-
rb
_ thread _ inspect (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - sprintf (12)
- sprintf フォーマット (12)
-
to
_ s (71) -
trace
_ var (36) - クラス/メソッドの定義 (12)
- スレッド (12)
検索結果
先頭5件
-
OpenSSL
:: HMAC # inspect -> String (18101.0) -
オブジェクトの内部状態から算出された HMAC を 16進の文字列で返します。
オブジェクトの内部状態から算出された HMAC を
16進の文字列で返します。 -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (15230.0) -
新しい実行結果の出力方式を定義します。
...aram key conf.inspect_mode や IRB.conf[:INSPECT_MODE] に指定するキー
オブジェクトを指定します。配列を指定した場合は配列中の要素全
てが対象になります。
@param arg ブロックを指定する場合には、inspect_mode の初期化......ロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_inspector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
Addrinfo
# inspect _ sockaddr -> String (15219.0) -
アドレスやポート番号などの情報を人間に読める形の文字列で返します。
...などの情報を人間に読める形の文字列で返します。
require 'socket'
Addrinfo.tcp("localhost", 80).inspect_sockaddr #=> "127.0.0.1:80"
Addrinfo.tcp("ip6-localhost", 80).inspect_sockaddr #=> "[::1]:80"
Addrinfo.unix("/tmp/sock").inspect_sockaddr #=> "/tmp/sock"... -
IRB
:: Context # inspect _ mode=(opt) (12231.0) -
実行結果の出力方式を opt に設定します。
...false, :to_s, :raw
出力結果を to_s したものを表示します。
: true, :p, :inspect
出力結果を inspect したものを表示します。
: :pp, :pretty_inspect
出力結果を pretty_inspect したものを表示します。
: :yaml, :YAML
出力結果を YAML 形式にした......ものを表示します。
: :marshal, :Marshal, :MARSHAL, Marshal
出力結果を Marshal.#dump したものを表示します。
@see lib:irb#inspect_mode... -
IRB
:: Context # inspect _ mode -> object | nil (12207.0) -
実行結果の出力方式を返します。
...実行結果の出力方式を返します。
@see IRB::Context#inspect_mode=... -
static VALUE method
_ inspect(VALUE method) (12200.0) -
-
static VALUE rb
_ thread _ inspect(VALUE thread) (12200.0) -
-
static int inspect
_ i(ID id , VALUE value , VALUE str) (6200.0) -
-
Hash
# default _ proc -> Proc | nil (6106.0) -
ハッシュのデフォルト値を返す Proc オブジェクトを返します。 ハッシュがブロック形式のデフォルト値を持たない場合 nil を返します。
...he #{key} not exist in #{hash.inspect}"}
p h.default #=> nil
p block = h.default_proc #=> #<Proc:0x0x401a9ff4>
p block.call({},:foo) #=> "The foo not exist in {}"
h = Hash.new("default")
p h.default #=> "default"
p h.default_proc #=> nil
//}
@see Hash#default...