ライブラリ
- ビルトイン (116)
-
cgi
/ core (24) -
cgi
/ html (48) -
irb
/ cmd / nop (12) -
irb
/ context (756) -
irb
/ ext / history (24) -
irb
/ ext / math-mode (12) -
irb
/ ext / save-history (60) -
irb
/ ext / tracer (36) -
irb
/ ext / use-loader (36) -
irb
/ extend-command (12) -
net
/ ftp (48) -
net
/ http (36) -
net
/ imap (252) -
net
/ smtp (48) - open-uri (48)
- openssl (960)
- pp (36)
- prettyprint (37)
- psych (12)
-
rdoc
/ code _ object (12) -
rdoc
/ context (588) -
rdoc
/ markup (12) -
rdoc
/ text (96) - rexml (12)
-
rexml
/ document (300) -
rexml
/ parsers / pullparser (12) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (36) - rss (456)
-
rubygems
/ installer (12) - uri (24)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httputils (12) -
webrick
/ ssl (12) - win32ole (24)
クラス
- CGI (24)
-
Enumerator
:: Yielder (6) -
Gem
:: Installer (12) -
IRB
:: Context (924) -
IRB
:: ExtendCommand :: Nop (12) - Method (14)
-
Net
:: FTP (48) -
Net
:: IMAP :: BodyTypeMessage (12) -
Net
:: IMAP :: BodyTypeMultipart (12) -
Net
:: IMAP :: BodyTypeText (168) -
Net
:: IMAP :: ContinuationRequest (12) -
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: ResponseText (24) -
Net
:: IMAP :: TaggedResponse (12) -
Net
:: SMTP (48) - Object (24)
-
ObjectSpace
:: WeakMap (12) -
OpenSSL
:: Netscape :: SPKI (12) -
OpenSSL
:: PKCS7 (24) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: RSA (12) -
OpenSSL
:: SSL :: SSLContext (648) -
OpenSSL
:: SSL :: SSLSocket (12) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Request (12) -
OpenSSL
:: X509 :: StoreContext (156) - PP (12)
- PrettyPrint (37)
- Proc (14)
-
Psych
:: SyntaxError (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (504) -
RDoc
:: Context :: Section (84) -
RDoc
:: Markup (12) -
REXML
:: CData (24) -
REXML
:: DocType (12) -
REXML
:: Element (120) -
REXML
:: Instruction (24) -
REXML
:: ParseException (12) -
REXML
:: Parsers :: PullEvent (12) -
REXML
:: Text (120) -
RSS
:: Maker :: RSSBase (12) -
RSS
:: Maker :: TextinputBase (96) -
RSS
:: RDF (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: Textinput (24) -
RSS
:: RDF :: Textinput (144) -
RSS
:: Rss (12) -
RSS
:: Rss :: Channel (24) -
RSS
:: Rss :: Channel :: TextInput (96) - String (70)
-
URI
:: MailTo (24) -
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPUtils :: FormData (12) -
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ TYPE (12)
モジュール
-
CGI
:: HtmlExtension (48) -
IRB
:: ExtendCommandBundle (12) -
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (48) -
RDoc
:: Text (96) -
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (36)
キーワード
- +@ (10)
- -@ (10)
- << (14)
- <=> (24)
- == (12)
- >> (14)
- [] (12)
- []= (12)
-
_ _ inspect _ _ (12) -
_ _ to _ s _ _ (12) - about (12)
- about= (12)
-
add
_ alias (12) -
add
_ attribute (12) -
add
_ class (12) -
add
_ class _ or _ module (12) -
add
_ constant (12) -
add
_ include (12) -
add
_ method (12) -
add
_ module (12) -
add
_ require (12) -
add
_ special (12) -
add
_ to (12) - aliases (12)
-
ap
_ name (12) -
ap
_ name= (12) -
app
_ script _ text (12) - attr (12)
- attributes (12)
-
auto
_ indent _ mode (12) -
auto
_ indent _ mode= (12) -
back
_ trace _ limit (12) -
back
_ trace _ limit= (12) - body (12)
-
ca
_ file (12) -
ca
_ file= (12) -
ca
_ path (12) -
ca
_ path= (12) - cert (12)
- cert= (12)
-
cert
_ store (12) -
cert
_ store= (12) - chain (12)
- characters (12)
- charset (24)
- ciphers (12)
- ciphers= (12)
- classes (12)
- cleanup (12)
-
client
_ ca (12) -
client
_ ca= (12) -
client
_ cert _ cb (12) -
client
_ cert _ cb= (12) - clone (12)
- code (12)
-
comma
_ breakable (12) - comment (12)
- constants (12)
- content (12)
-
content
_ id (12) -
content
_ type (24) -
content
_ type= (12) - context (60)
- context= (12)
-
current
_ cert (12) -
current
_ crl (12) -
current
_ section (12) - data (24)
- date (12)
- date= (12)
- debug? (12)
-
debug
_ level (12) -
debug
_ level= (12) - decrypt (12)
- dedup (3)
-
defined
_ in? (12) - description (48)
- description= (36)
- disposition (12)
- doctype (12)
-
each
_ attribute (12) -
each
_ classmodule (12) -
each
_ constant (12) -
each
_ element _ with _ text (12) -
each
_ method (12) - echo (12)
- echo= (12)
- echo? (12)
- empty? (12)
-
enable
_ ssl (12) -
enable
_ starttls (12) -
enable
_ starttls _ auto (12) -
enable
_ tls (12) - encode (36)
- encoding (12)
- entitydecl (12)
- error (12)
- error= (12)
-
error
_ depth (12) -
error
_ string (12) -
eval
_ history (12) -
eval
_ history= (12) - evaluate (12)
- exit (12)
- extension (12)
-
extra
_ chain _ cert (12) -
extra
_ chain _ cert= (12) -
file
_ input? (12) -
find
_ enclosing _ module _ named (12) -
find
_ local _ symbol (12) -
find
_ module _ named (12) -
find
_ symbol (12) - first? (1)
- flags= (12)
-
flush
_ left (12) -
flush
_ sessions (12) -
get
_ text (12) - gettextfile (24)
- group (12)
-
has
_ elements? (12) -
has
_ text? (12) - header (12)
- helpcontext (24)
-
history
_ file (12) -
history
_ file= (12) -
ignore
_ eof (12) -
ignore
_ eof= (12) -
ignore
_ eof? (12) -
ignore
_ sigint (12) -
ignore
_ sigint= (12) -
ignore
_ sigint? (12) -
in
_ files (12) - includes (12)
-
init
_ save _ history (12) -
initialize
_ classes _ and _ modules (12) -
initialize
_ methods _ etc (12) - inspect (24)
- inspect? (12)
-
inspect
_ mode (12) -
inspect
_ mode= (12) - instruction (12)
- io (12)
- io= (12)
- irb (12)
- irb= (12)
-
irb
_ context (24) -
irb
_ name (12) -
irb
_ name= (12) -
irb
_ path (12) -
irb
_ path= (12) - key (12)
- key= (12)
- language (12)
-
last
_ value (12) - lines (12)
- link (36)
- link= (36)
-
load
_ modules (12) - main (12)
-
main
_ type (12) - markup (12)
- math? (4)
-
math
_ mode (4) -
math
_ mode= (4) - md5 (12)
-
media
_ subtype (12) -
media
_ type (12) -
method
_ list (12) - modules (12)
- multipart? (12)
- name (48)
- name= (36)
-
next
_ element (12) -
node
_ type (12) -
normalize
_ comment (12) -
ongoing
_ visibility= (12) - out (12)
- param (12)
- parent (12)
- parse (12)
- parts (12)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) -
prompt
_ c (12) -
prompt
_ c= (12) -
prompt
_ i (12) -
prompt
_ i= (12) -
prompt
_ mode (12) -
prompt
_ mode= (12) -
prompt
_ n (12) -
prompt
_ n= (12) -
prompt
_ s (12) -
prompt
_ s= (12) - prompting? (12)
- purpose= (12)
- puttextfile (24)
- query (12)
- raw (12)
- raw= (12)
- rc (12)
- rc? (12)
-
record
_ location (12) -
renegotiation
_ cb (12) -
renegotiation
_ cb= (12) - requires (12)
- resource (12)
- resource= (12)
-
return
_ format (12) -
return
_ format= (12) -
save
_ history (12) -
save
_ history= (12) - section (12)
- sections (12)
- sequence (12)
-
servername
_ cb (12) -
servername
_ cb= (12) -
session
_ add (12) -
session
_ cache _ mode (12) -
session
_ cache _ mode= (12) -
session
_ cache _ size (12) -
session
_ cache _ size= (12) -
session
_ cache _ stats (12) -
session
_ get _ cb (12) -
session
_ get _ cb= (12) -
session
_ id _ context (12) -
session
_ id _ context= (12) -
session
_ new _ cb (12) -
session
_ new _ cb= (12) -
session
_ remove (12) -
session
_ remove _ cb (12) -
session
_ remove _ cb= (12) -
set
_ comment (12) -
set
_ current _ section (12) -
set
_ last _ value (12) -
set
_ params (12) -
set
_ visibility _ for (12) - size (12)
-
ssl
_ context (12) -
ssl
_ timeout (12) -
ssl
_ timeout= (12) -
ssl
_ version= (12) -
strip
_ hashes (12) -
strip
_ newlines (12) -
strip
_ stars (12) -
sub
_ type (12) - subtype (12)
- target (12)
- text= (12)
- text? (12)
- textInput (12)
- textInput= (12)
-
text
_ field (24) - textarea (24)
- textinput (48)
- textinput= (24)
- texts (12)
- thread (12)
- time= (12)
- timeout (12)
- timeout= (12)
- title (48)
- title= (36)
-
tmp
_ dh _ callback (12) -
tmp
_ dh _ callback= (12) -
to
_ mailtext (12) -
to
_ proc (6) -
to
_ rfc822text (12) -
to
_ s (36) -
to
_ text (120) - toplevel (12)
- trust= (12)
-
unicode
_ normalize! (11) -
unmatched
_ alias _ lists (12) -
unmatched
_ alias _ lists= (12) -
use
_ loader (12) -
use
_ loader= (12) -
use
_ loader? (12) -
use
_ readline (12) -
use
_ readline? (12) -
use
_ tracer (12) -
use
_ tracer= (12) -
use
_ tracer? (12) - value (24)
- value= (12)
- verbose (12)
- verbose= (12)
- verbose? (12)
- verify (24)
-
verify
_ callback (12) -
verify
_ callback= (12) -
verify
_ depth (12) -
verify
_ depth= (12) -
verify
_ mode (12) -
verify
_ mode= (12) - visibility (12)
- workspace (12)
- workspace= (12)
検索結果
先頭5件
-
String
# encode(encoding , **options) -> String (7.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...スエンコーディングで未定義の文字です。値は、変換先のエンコーディングでの変換後の文字です。
: :xml => :text
文字列を XML の CharData として適するように処理します。具体的には、'&'、'<'、'>'、をそれぞれ '&'、'<'、... -
String
# encode(encoding , from _ encoding , **options) -> String (7.0) -
self を指定したエンコーディングに変換した文字列を作成して返します。引数 を2つ与えた場合、第二引数は変換元のエンコーディングを意味します。さもな くば self のエンコーディングが使われます。 無引数の場合は、Encoding.default_internal が nil でなければそれが変換先のエンコーディングになり、かつ :invalid => :replace と :undef => :replace が指定されたと見なされ、nil ならば変換は行われません。
...スエンコーディングで未定義の文字です。値は、変換先のエンコーディングでの変換後の文字です。
: :xml => :text
文字列を XML の CharData として適するように処理します。具体的には、'&'、'<'、'>'、をそれぞれ '&'、'<'、... -
WEBrick
:: HTTPRequest # query -> Hash (7.0) -
リクエストのクエリーあるいはクライアントがフォームへ入力した値を表すハッシュを返します。
...巨大な文字列が
生成されてしまいます。
例:
h = req.query
p h['q'] #=> "ruby rails session"
p h['upfile']['content-type'] #=> "plain/text"
p h['upfile'].filename #=> "my_file.txt"
p h['upfile'] #=> "hoge hoge hoge"... -
WEBrick
:: HTTPResponse # content _ type=(val) (7.0) -
Content-Type ヘッダの値をセットします。
...Content-Type ヘッダの値をセットします。
@param val Content-Type ヘッダの値を文字列で指定します。
res.content_type = "text/html"
@see WEBrick::HTTPUtils.#mime_type... -
WEBrick
:: HTTPUtils :: FormData # [](header) -> String | nil (7.0) -
自身が multipart/form-data なデータの場合に、header で指定された ヘッダの値を文字列で返します。無ければ nil を返します。
...nil を返します。
@param header ヘッダ名を文字列で指定します。大文字と小文字を区別しません。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q']['content-type'] #=> "plain/text"
end
end
MyCGI.new.start()...