ライブラリ
- ビルトイン (95)
-
cgi
/ html (24) - coverage (8)
- mkmf (48)
-
net
/ http (24) -
net
/ imap (24) -
net
/ pop (12) -
net
/ smtp (24) - prime (96)
- rake (12)
-
rdoc
/ context (12) -
rubygems
/ dependency _ list (12) - socket (36)
- time (24)
- timeout (21)
-
webrick
/ httpauth / authenticator (168) -
webrick
/ httpauth / basicauth (12) -
webrick
/ httpauth / digestauth (12) -
webrick
/ httpstatus (24) - win32ole (12)
クラス
- Coverage (8)
-
Gem
:: DependencyList (12) -
Net
:: IMAP (24) -
Net
:: SMTP (12) - Object (28)
- Prime (48)
-
Prime
:: EratosthenesGenerator (36) - Proc (48)
-
RDoc
:: Context (12) -
Rake
:: FileList (12) - Range (7)
- Socket (12)
- Time (24)
-
WEBrick
:: HTTPAuth :: BasicAuth (12) -
WEBrick
:: HTTPAuth :: DigestAuth (12) - WIN32OLE (12)
モジュール
-
CGI
:: HtmlExtension (24) - Kernel (48)
-
Socket
:: Constants (12) - Timeout (21)
-
WEBrick
:: HTTPAuth :: Authenticator (96) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (48) -
WEBrick
:: HTTPStatus (12)
キーワード
- === (19)
- ARGV (12)
- AuthException (24)
- AuthScheme (12)
- Authenticator (12)
- EratosthenesGenerator (12)
- HTTPNetworkAuthenticationRequired (12)
- HTTPProxyAuthenticationRequired (12)
- InfoField (12)
-
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) - Numeric (12)
- POPAuthenticationError (12)
- ProxyAuthenticationRequired (12)
- ProxyAuthenticator (12)
-
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (12) - RequestField (24)
- ResponseField (24)
- ResponseInfoField (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- SMTPAuthenticationError (12)
-
SO
_ SECURITY _ AUTHENTICATION (24) - TCPSocket (12)
- [] (12)
-
add
_ authenticator (12) - authenticate (48)
- call (12)
-
check
_ signedness (24) -
convertible
_ int (24) - coverage (8)
-
dependency
_ order (12) - each (48)
- exclude (12)
-
find
_ symbol (12) - getoptlong (12)
- html (24)
- logger (12)
- next (12)
- realm (12)
- rewind (12)
- start (8)
- strptime (24)
- succ (12)
- timeout (21)
- userdb (12)
-
webrick
/ httpauth / authenticator (12) - xmlrpc (3)
- yield (12)
-
yield
_ self (14) - クラス/メソッドの定義 (12)
- プログラム・文・式 (12)
- 制御構造 (12)
- 字句構造 (12)
- 演算子式 (12)
検索結果
-
プログラム・文・式 (6.0)
-
プログラム・文・式 * exp * terminate
...行へ継続します。
例:
print "hello world!\n"
===[a:exp] 式
例:
true
(1+2)*3
foo()
if test then ok else ng end
Ruby の式には、spec/variables、さまざまなspec/literal、それらの
spec/operator、if や while などのspec/control... -
字句構造 (6.0)
-
字句構造 * identifier * comment * embed * reserved
...class ensure nil self when
END def false not super while
alias defined? for or then yield
and do if redo true __LINE__
begin else in rescue undef __FILE__... -
演算子式 (6.0)
-
演算子式 * assign * selfassign * multiassign * range * range_cond * and * or * not * cond
...e) #=> true
p((not false)) #=> true
//}
===[a:cond] 条件演算子
//emlist[例][ruby]{
obj == 1 ? foo : bar
//}
文法:
式1 ? 式2 : 式3
式1の結果によって式2または式3を返します。
if 式1 then 式2 else 式3 end
とまったく同じです。...