395件ヒット
[101-200件を表示]
(0.130秒)
ライブラリ
- ビルトイン (243)
- bigdecimal (12)
- csv (12)
-
irb
/ context (24) -
irb
/ ext / math-mode (8) -
irb
/ inspector (12) - openssl (36)
-
shell
/ filter (6) - thwait (6)
- win32ole (24)
- zlib (12)
クラス
-
ARGF
. class (24) - BigDecimal (12)
-
CSV
:: Table (12) - Complex (12)
- FalseClass (24)
- Float (24)
- Hash (12)
-
IRB
:: Context (32) -
IRB
:: Inspector (12) - Module (51)
- Object (12)
-
OpenSSL
:: HMAC (36) - Rational (24)
-
Shell
:: Filter (6) - Symbol (12)
- Thread (12)
-
Thread
:: Backtrace :: Location (12) - ThreadsWait (6)
- TrueClass (12)
- UnboundMethod (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ TYPE (12) -
Zlib
:: GzipFile :: Error (12)
キーワード
- [] (12)
-
all
_ waits (6) -
bind
_ call (12) -
const
_ added (3) -
const
_ missing (12) -
default
_ proc (12) - handler= (12)
- hexdigest (12)
-
initialize
_ copy (12) - inspect? (12)
-
inspect
_ mode (12) -
inspect
_ value (12) - math? (4)
-
math
_ mode (4) - name (12)
-
to
_ s (72)
検索結果
先頭5件
-
WIN32OLE
_ TYPE # inspect -> String (21108.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... -
ARGF
. class # inspect -> String (21102.0) -
常に文字列 "ARGF" を返します。
常に文字列 "ARGF" を返します。 -
FalseClass
# inspect -> String (21102.0) -
常に文字列 "false" を返します。
...常に文字列 "false" を返します。
//emlist[例][ruby]{
false.to_s # => "false"
//}... -
Float
# inspect -> String (21102.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...数点、浮動小数点の形式か、 "Infinity"、"-Infinity"、"NaN" のいず
れかを返します。
@return 文字列を返します。
//emlist[例][ruby]{
0.00001.to_s # => "1.0e-05"
3.14.to_s # => "3.14"
10000_00000_00000.0.to_s # => "100000000000000.0"
10000_... -
Module
# inspect -> String (21102.0) -
モジュールやクラスの名前を文字列で返します。
...は nil を、それ以外はオブジェクト ID の文字列を返します。
//emlist[例][ruby]{
module A
module B
end
p B.name #=> "A::B"
class C
end
end
p A.name #=> "A"
p A::B.name #=> "A::B"
p A::C.name #=> "A::C"
# 名前のないモジュール / クラス
p Module.new.......name #=> nil
p Class.new.name #=> nil
p Module.new.to_s #=> "#<Module:0x00007f90b09112c8>"
p Class.new.to_s #=> "#<Class:0x00007fa5c40b41b0>"
//}... -
Zlib
:: GzipFile :: Error # inspect -> String (21102.0) -
self の情報を人間に読みやすい文字列にして返します。
...self の情報を人間に読みやすい文字列にして返します。... -
OpenSSL
:: HMAC # inspect -> String (18102.0) -
オブジェクトの内部状態から算出された HMAC を 16進の文字列で返します。
オブジェクトの内部状態から算出された HMAC を
16進の文字列で返します。 -
IRB
:: Inspector # inspect _ value(v) -> () (15202.0) -
ライブラリ内部で使用します。
ライブラリ内部で使用します。 -
WIN32OLE
_ EVENT # handler=(obj) -> () (9107.0) -
イベント処理を実行するオブジェクトを登録します。
...るにはnilを指定します。
class IeHandler
def initialize
@completed = false
end
attr_reader :completed
def onDocumentComplete(disp, uri)
disp.document.getElementsByTagName('a').each do |e|
puts "#{e.innerHTML}=#{e.href}"
end
@completed = tru......#{args.inspect}"
end
end
ie = WIN32OLE.new('InternetExplorer.Application.1')
event = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
event.handler = IeHandler.new
ie.Navigate2 'http://www.ruby-lang.org/ja/'
loop do
break if event.handler.completed
WIN32OLE_EVENT.message_loop......end
ie.Quit
WIN32OLE_EVENT#on_eventなどの呼び出しでブロックが登録されている場
合、そちらが優先されます。... -
IRB
:: Context # inspect? -> bool (6230.0) -
IRB::Context#inspect_mode が有効かどうかを返します。
...IRB::Context#inspect_mode が有効かどうかを返します。
@return 出力結果に to_s したものを表示する場合は false を返します。それ
以外の場合は true を返します。
@see IRB::Context#inspect_mode, IRB::Context#inspect_mode=...