4974件ヒット
[4901-4974件を表示]
(0.098秒)
種類
ライブラリ
- ビルトイン (167)
-
cgi
/ core (24) -
cgi
/ html (48) -
cgi
/ util (24) - csv (36)
- irb (12)
-
irb
/ cmd / nop (12) -
irb
/ context (816) -
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 (48) - json (12)
-
net
/ ftp (48) -
net
/ http (36) -
net
/ imap (288) - open-uri (48)
- openssl (972)
- pp (24)
- prettyprint (85)
- psych (12)
-
rdoc
/ code _ object (12) -
rdoc
/ context (540) -
rdoc
/ markup (12) -
rdoc
/ text (84) - rexml (12)
-
rexml
/ document (300) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (36) - rss (540)
-
rubygems
/ installer (12) - uri (24)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httputils (36) -
webrick
/ ssl (12) -
win32
/ registry (216) - win32ole (36)
クラス
- CGI (48)
- CSV (36)
-
Encoding
:: Converter (36) -
Enumerator
:: Yielder (6) -
Gem
:: Installer (12) - IO (24)
-
IRB
:: Context (972) -
IRB
:: ExtendCommand :: Nop (12) -
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) - Object (24)
-
OpenSSL
:: Netscape :: SPKI (12) -
OpenSSL
:: PKCS7 (72) -
OpenSSL
:: PKey :: DH (12) -
OpenSSL
:: PKey :: DSA (12) -
OpenSSL
:: PKey :: EC (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: PKey :: RSA (12) -
OpenSSL
:: SSL :: SSLContext (672) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Request (12) -
OpenSSL
:: X509 :: StoreContext (108) - PrettyPrint (73)
-
Psych
:: SyntaxError (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (432) -
RDoc
:: Context :: Section (96) -
RDoc
:: Markup (12) -
REXML
:: CData (36) -
REXML
:: Document (36) -
REXML
:: Element (72) -
REXML
:: Instruction (24) -
REXML
:: ParseException (12) -
REXML
:: Text (72) -
REXML
:: XPath (24) -
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 (101)
-
URI
:: MailTo (24) -
WEBrick
:: GenericServer (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPUtils :: FormData (12) - WIN32OLE (12)
-
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ TYPE (12) -
Win32
:: Registry (108)
モジュール
-
CGI
:: HtmlExtension (48) - IRB (12)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (12) - JSON (12)
-
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (48) -
RDoc
:: Text (84) -
REXML
:: SAX2Listener (12) -
REXML
:: Security (24) -
REXML
:: StreamListener (36) -
WEBrick
:: HTTPUtils (24) -
Win32
:: Registry :: Constants (108)
キーワード
- +@ (10)
- -@ (10)
- == (12)
- BodyTypeBasic (12)
- BodyTypeText (12)
- Context (12)
- ContextExtender (12)
- CurrentContext (12)
-
HKEY
_ CLASSES _ ROOT (24) -
HKEY
_ CURRENT _ CONFIG (24) -
HKEY
_ CURRENT _ USER (24) -
HKEY
_ DYN _ DATA (24) -
HKEY
_ LOCAL _ MACHINE (24) -
HKEY
_ PERFORMANCE _ DATA (24) -
HKEY
_ PERFORMANCE _ NLSTEXT (24) -
HKEY
_ PERFORMANCE _ TEXT (24) -
HKEY
_ USERS (24) -
IDNAME
_ IVARS (12) - Instruction (12)
-
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 7 . 0 (6) -
NOPRINTING
_ IVARS (12) -
NO
_ INSPECTING _ IVARS (12) - PrettyPrint (12)
- ResponseText (12)
-
SESSION
_ CACHE _ BOTH (12) -
SESSION
_ CACHE _ CLIENT (12) -
SESSION
_ CACHE _ NO _ AUTO _ CLEAR (12) -
SESSION
_ CACHE _ NO _ INTERNAL (12) -
SESSION
_ CACHE _ NO _ INTERNAL _ LOOKUP (12) -
SESSION
_ CACHE _ NO _ INTERNAL _ STORE (12) -
SESSION
_ CACHE _ OFF (12) -
SESSION
_ CACHE _ SERVER (12) - Section (12)
- TEXT (12)
- TYPES (12)
- TextInput (12)
- Textinput (60)
- TextinputBase (12)
- VISIBILITIES (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
_ include (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) - cert (12)
- cert= (12)
-
cert
_ store (12) - cgi (12)
-
cgi
/ session (12) - chain (12)
- characters (12)
- charset (24)
- ciphers (12)
- ciphers= (12)
- classes (12)
-
client
_ ca (12) -
client
_ ca= (12) -
client
_ cert _ cb (12) -
client
_ cert _ cb= (12) - code (12)
- comment (12)
- content (12)
-
content
_ id (12) -
content
_ type (24) -
content
_ type= (12) - context (36)
-
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)
-
def
_ extend _ command (12) -
defined
_ in? (12) - description (48)
- description= (36)
- disposition (12)
- doctype (12)
- each (12)
-
each
_ attribute (12) -
each
_ classmodule (12) -
each
_ element _ with _ text (12) - echo (12)
- echo= (12)
- echo? (12)
- encode (36)
- encoding (12)
- encrypt (12)
-
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - entitydecl (12)
- error (12)
-
error
_ depth (12) -
error
_ string (12) - escapeHTML (12)
-
escape
_ html (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 (12)
- first? (1)
-
flush
_ left (12) -
flush
_ sessions (12) - generate (12)
-
get
_ text (12) - gettextfile (24)
- group (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) -
install
_ extend _ commands (12) - instance (24)
- instruction (12)
- io (12)
- io= (12)
- irb (12)
-
irb
/ context (12) - irb= (12)
-
irb
_ context (24) -
irb
_ name (12) -
irb
_ name= (12) -
irb
_ path (12) -
irb
_ path= (12) - key (12)
- language (12)
-
last
_ value (12) - lines (12)
- link (36)
- link= (36)
-
load
_ mime _ types (12) -
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) -
mime
_ type (12) - multipart? (12)
- name (48)
- name= (36)
-
net
/ imap (12) - new (175)
-
next
_ element (12) - normalize (12)
-
normalize
_ comment (12) -
ole
_ show _ help (12) -
ongoing
_ visibility= (12) - open-uri (12)
- out (12)
- param (12)
- parent (12)
- parse! (12)
- parts (12)
-
pretty
_ print (12) -
pretty
_ print _ cycle (12) - prettyprint (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)
- puttextfile (24)
- query (12)
-
rb
_ thread _ restore _ context (12) -
rb
_ thread _ save _ context (12) - rc (12)
- rc? (12)
- rdoc (12)
-
record
_ location (12) -
renegotiation
_ cb (12) -
renegotiation
_ cb= (12) - requires (12)
- resource (12)
- resource= (12)
-
return
_ format (12) -
return
_ format= (12) -
rexml
/ parsers / ultralightparser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
rubygems
/ security (12) -
save
_ history (12) -
save
_ history= (12) - section (12)
- sections (12)
- sequence (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
_ visibility _ for (12) - sign (12)
-
singleline
_ format (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)
- textInput (12)
- textInput= (12)
-
text
_ field (24) - textarea (24)
- textinput (48)
- textinput= (24)
- thread (12)
- time= (12)
- timeout (12)
- timeout= (12)
- title (48)
- title= (36)
-
tmp
_ dh _ callback (12) -
to
_ mailtext (12) -
to
_ proc (6) -
to
_ rfc822text (12) -
to
_ s (36) -
to
_ text (120) -
unicode
_ normalize! (11) -
unmatched
_ alias _ lists (12) -
unmatched
_ alias _ lists= (12) - unnormalize (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)
- 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)
-
webrick
/ cgi (12) - workspace (12)
- workspace= (12)
- write (24)
-
write
_ smime (12)
検索結果
先頭5件
-
OpenSSL
:: PKCS7 . encrypt(certs , data , cipher=nil , flags=0) -> OpenSSL :: PKCS7 (112.0) -
data を証明書の公開鍵で暗号化します。
...は MIME 形式の文字列を渡します。
署名と暗号化の両方をしたい場合は、
署名(OpenSSL::PKCS7.sign)された S/MIME 形式の文字列を
渡すことが一般的です。
cipher は共通鍵暗号の方式を OpenSSL::Cipher オブジェクトで指定します。
nil を......triple DES を使うとよいでしょう。多くのクライアントで利用可能なはずです。
flags には以下のフラグを渡すことができます。
* OpenSSL::PKCS7::TEXT
暗号化するデータに text/plain タイプの MIME ヘッダを追加します。
MIME......。
* OpenSSL::PKCS7::BINARY
data に MIME 正規化をほどこしません。
@param certs 公開鍵を含む証明書(OpenSSL::X509::Certificate オブジェクト)の配列
@param data 暗号化対象の文字列
@param cipher 共通鍵暗号の方式(OpenSSL::Cipher オブジェクト)... -
REXML
:: CData # to _ s -> String (112.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: CData # value -> String (112.0) -
テキスト文字列を返します。
...テキスト文字列を返します。
@see REXML::Text#value, REXML::Text#to_s
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root><![CDATA[foobar baz]]></root>
EOS
doc.root[0].class # => REXML::CData
doc.root[0].value # => "foobar baz"
//}... -
REXML
:: Element # next _ element -> Element | nil (106.0) -
次の兄弟要素を返します。
...次の兄弟要素を返します。
次の要素が存在しない場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new '<a><b/>text<c/></a>'
doc.root.elements['b'].next_element # => <c/>
doc.root.elements['c'].next_element # => nil
//}... -
REXML
:: XPath . each(element , path = nil , namespaces = {} , variables = {}) {|e| . . . } -> () (106.0) -
element の path で指定した XPath 文字列にマッチする各ノード に対してブロックを呼び出します。
...。
path を省略すると "*" を指定したことになります。
namespace で名前空間の対応付けを Hash で指定します。
variable で XPath 内の変数に対応する値を指定できます。
XPathインジェクション攻撃を避けるため、適切な
エスケープ......@param variables 変数名とその値の対応付け
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:x='1'>
<a>
<b>b1</b>
<x:c />
<b>b2</b>
<d />
</a>
<b> b3 </b>
</root>
EOS
REXML::XPath.each(doc, "/root/a/b"){|e| p e.text }
# >> "b1... -
NEWS for Ruby 2
. 1 . 0 (54.0) -
NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...報があるため短いです。
十分な情報と共に書かれた全ての変更のリストは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。
== 2.0.0 以降の変更
=== 言語仕様の変更
* キーワード引数のデフォルト値が省略可......尾に'r','i','ri'という接尾辞を付けられるようになりました
//emlist{
# r を付けると有理数になる
42r # => Rational(42, 1)
3.14 # => 3.14.rationalize
6.022e+23r # 指数形式と一緒には使えない
# i を付けると虚数単位 i を掛けた......amParser
* entityイベントをサポート
* REXML::Text
* REXML::Text#<< 'text << "XXX" << "YYY"' のようなメソッドチェインをサポート
* REXML::Text#<< "raw" でないモードをサポート
* rinda
* Rinda::RingServer, Rinda::RingFinger
* マル... -
NEWS for Ruby 2
. 7 . 0 (12.0) -
NEWS for Ruby 2.7.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...ルか bugs.ruby-lang.org の issue を参照してください。
== 2.6.0 以降の変更
=== 言語仕様の変更
==== パターンマッチ
* パターンマッチが実験的機能として導入されました。 14912
//emlist[][ruby]{
case [0, [1, 2, 3]]
in [a, [b, *c]]
p a #=> 0......nd
//}
//emlist[][ruby]{
case {a: 0, b: 1}
in {a: 0, x: 1}
:unreachable
in {a: 0, b: var}
p var #=> 1
end
//}
//emlist[][ruby]{
case -1
in 0 then :unreachable
in 1 then :unreachable
end #=> NoMatchingPatternError
//}
//emlist{
json = <<END
{
"name": "Alice",
"age": 30,
"children": [{ "n......er Name Indication (SNI) のサポートが追加されました。 15594
* open-uri
* Kernelモジュールでopen-uriのopenメソッドを使うと警告されるようになりました。
代わりにURI.openを使ってください。 15893
* メディアタイプ "text/*" の...
