ライブラリ
- ビルトイン (161)
- continuation (11)
- drb (33)
- fiber (8)
- irb (11)
-
irb
/ cmd / chws (22) -
irb
/ context (11) -
irb
/ extend-command (11) - json (22)
-
minitest
/ spec (1) - monitor (16)
- openssl (33)
-
rdoc
/ context (22) -
rubygems
/ platform (11) -
rubygems
/ specification (11) - socket (88)
- thwait (54)
-
win32
/ registry (220)
クラス
- Data (4)
- Fiber (11)
-
Gem
:: Platform (11) -
Gem
:: Specification (11) -
IRB
:: Context (11) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (11) -
JSON
:: State (22) -
MiniTest
:: Spec (1) - Monitor (16)
-
OpenSSL
:: X509 :: StoreContext (33) -
RDoc
:: Context (22) - Socket (44)
- Thread (147)
- ThreadsWait (54)
-
Win32
:: Registry (121)
モジュール
- DRb (33)
- IRB (11)
-
IRB
:: ExtendCommandBundle (11) - Kernel (7)
-
Socket
:: Constants (44) -
Win32
:: Registry :: Constants (99)
キーワード
-
$ SAFE (7) -
CURRENT
_ SPECIFICATION _ VERSION (11) - Continuation (11)
- CurrentContext (11)
- CurrentWorkingWorkspace (11)
-
HKEY
_ CLASSES _ ROOT (22) -
HKEY
_ CURRENT _ CONFIG (22) -
HKEY
_ CURRENT _ USER (22) -
HKEY
_ DYN _ DATA (22) -
HKEY
_ LOCAL _ MACHINE (22) -
HKEY
_ PERFORMANCE _ DATA (22) -
HKEY
_ PERFORMANCE _ NLSTEXT (22) -
HKEY
_ PERFORMANCE _ TEXT (22) -
HKEY
_ USERS (22) -
IPV6
_ PATHMTU (22) -
IPV6
_ RECVPATHMTU (22) -
IP
_ IPSEC _ POLICY (22) -
MSG
_ RCVMORE (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (4) - [] (11)
- alive? (11)
-
all
_ waits (18) -
buffer
_ initial _ length (11) - config (11)
- current (12)
-
current
_ cert (11) -
current
_ crl (11) -
current
_ section (11) - define (4)
- depth (11)
- empty? (6)
- execute (11)
- exit (11)
- fetch (7)
- finished? (6)
- here? (11)
- inspect (11)
-
install
_ extend _ commands (11) - irb (11)
-
irb
/ cmd / chws (11) - join (6)
-
join
_ nowait (6) -
mon
_ exit (5) - name (11)
- new (6)
- priority (11)
- priority= (11)
-
rb
_ thread _ current (11) - rdoc (11)
-
report
_ on _ exception (8) -
report
_ on _ exception= (8) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
safe
_ level (7) -
set
_ current _ section (11) -
set
_ trace _ func (11) - status (11)
- thread (11)
-
thread
_ variable? (11) -
thread
_ variable _ get (11) -
thread
_ variable _ set (11) - threads (6)
-
to
_ s (18) - uri (11)
- verify (11)
-
win32
/ registry (11)
検索結果
先頭5件
-
irb (26090.0)
-
irb は Interactive Ruby の略です。 irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
...irb は Interactive Ruby の略です。
irb を使うと、Ruby の式を標準入力から簡単に入力・実行することができます。
=== irb の使い方
Ruby さえ知っていれば irb を使うのは簡単です。
irb コマンドを実行すると、以下のようなプロン......。
$ irb
irb(main):001:0>
あとは Ruby の式を入力するだけで、その式が実行され、結果が表示されます。
irb(main):001:0> 1+2
3
irb(main):002:0> class Foo
irb(main):003:1> def foo
irb(main):004:2> print 1
irb(main):005:2> end
irb(main):006:1>...... IRB::Context オブジェクトに対してメソッドを
呼び出すことで、現在稼働中の irb インタプリタの設定を表示・変更できます。
: cwws
: pwws
: irb_cwws
: irb_pwws
: irb_print_working_workspace
: irb_current_working_binding
: irb_print_working_binding
: irb... -
irb
/ cmd / chws (26016.0) -
irb 中の irb_current_working_workspace、irb_change_workspace コマンドの ための拡張を定義したサブライブラリです。
...irb 中の irb_current_working_workspace、irb_change_workspace コマンドの
ための拡張を定義したサブライブラリです。
このライブラリで定義されているメソッドはユーザが直接使用するものではあ
りません。... -
Gem
:: Platform :: CURRENT -> String (18201.0) -
特定のプラットフォーム向けの Gem をビルドするときに使用します。
特定のプラットフォーム向けの Gem をビルドするときに使用します。 -
Gem
:: Specification :: CURRENT _ SPECIFICATION _ VERSION -> 2 (15201.0) -
現在の gemspec のバージョンを表す定数です。
現在の gemspec のバージョンを表す定数です。 -
RDoc
:: Context # current _ section -> RDoc :: Context :: Section (12301.0) -
現在の section を返します。
...現在の section を返します。... -
Socket
:: Constants :: IP _ IPSEC _ POLICY -> Integer (12206.0) -
IPsec security policy。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...IPsec security policy。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
http://netbsd.gw.com/cgi-bin/man-cgi?ip++NetBSD-current... -
Socket
:: IP _ IPSEC _ POLICY -> Integer (12206.0) -
IPsec security policy。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...IPsec security policy。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
http://netbsd.gw.com/cgi-bin/man-cgi?ip++NetBSD-current... -
RDoc
:: Context # set _ current _ section(title , comment) -> () (12201.0) -
Handle sections
...Handle sections... -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12016.0) -
irb 中の irb_current_working_workspace コマンドのための拡張を定義したク ラスです。
...irb 中の irb_current_working_workspace コマンドのための拡張を定義したク
ラスです。... -
Fiber
. current -> Fiber (9219.0) -
このメソッドが評価されたコンテキストにおける Fiber のインスタンスを返します。
...のメソッドが評価されたコンテキストにおける Fiber のインスタンスを返します。
//emlist[例:][ruby]{
fr = Fiber.new do
Fiber.current
end
fb = fr.resume
p fb.equal?(fr) # => true
p Fiber.current # => #<Fiber:0x91345e4>
p Fiber.current # => #<Fiber:0x91345e4>
//}...