3974件ヒット
[3901-3974件を表示]
(0.081秒)
ライブラリ
- ビルトイン (163)
-
cgi
/ core (24) -
cgi
/ util (24) - csv (48)
-
irb
/ cmd / nop (12) -
irb
/ context (336) -
irb
/ ext / math-mode (4) -
irb
/ ext / use-loader (12) - json (12)
-
net
/ ftp (48) -
net
/ http (44) -
net
/ imap (288) -
net
/ smtp (60) - open-uri (48)
- openssl (1236)
- pp (36)
- prettyprint (85)
- psych (12)
-
rdoc
/ context (132) -
rdoc
/ markup (24) -
rdoc
/ markup / to _ html _ crossref (12) -
rdoc
/ parser / text (12) -
rdoc
/ text (72) - rexml (12)
-
rexml
/ document (252) -
rexml
/ parsers / pullparser (12) -
rexml
/ streamlistener (12) - rss (540)
-
rubygems
/ installer (12) - uri (24)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httputils (36) -
webrick
/ ssl (12) -
win32
/ registry (72) - win32ole (36)
クラス
- CGI (48)
- CSV (36)
-
Encoding
:: Converter (36) -
Enumerator
:: Yielder (6) -
Gem
:: Installer (12) - IO (24)
-
IRB
:: Context (352) -
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 (60) - Object (24)
-
ObjectSpace
:: WeakMap (12) -
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 (804) -
OpenSSL
:: SSL :: SSLSocket (24) -
OpenSSL
:: SSL :: Session (12) -
OpenSSL
:: X509 :: CRL (12) -
OpenSSL
:: X509 :: Certificate (12) -
OpenSSL
:: X509 :: Request (12) -
OpenSSL
:: X509 :: StoreContext (168) - PP (12)
- PrettyPrint (73)
- Proc (14)
-
Psych
:: SyntaxError (12) -
RDoc
:: Context (96) -
RDoc
:: Context :: Section (36) -
RDoc
:: Markup (12) -
RDoc
:: Markup :: ToHtmlCrossref (12) -
REXML
:: CData (12) -
REXML
:: DocType (12) -
REXML
:: Document (24) -
REXML
:: Element (48) -
REXML
:: Instruction (24) -
REXML
:: ParseException (12) -
REXML
:: Parsers :: PullEvent (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 (57)
-
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 (36)
モジュール
- JSON (12)
-
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (48) -
RDoc
:: Text (72) -
REXML
:: Security (24) -
REXML
:: StreamListener (12) -
WEBrick
:: HTTPUtils (24) -
Win32
:: Registry :: Constants (36)
キーワード
- << (14)
- >> (14)
- BodyTypeBasic (12)
- BodyTypeText (12)
- CSV (12)
-
DEFAULT
_ CERT _ STORE (12) -
DEFAULT
_ PARAMS (12) -
HKEY
_ PERFORMANCE _ DATA (24) -
HKEY
_ PERFORMANCE _ NLSTEXT (24) -
HKEY
_ PERFORMANCE _ TEXT (24) - HTTPNotExtended (8)
- Instruction (12)
- METHODS (12)
- Markup (12)
-
NEWS for Ruby 2
. 7 . 0 (6) -
NOPRINTING
_ IVARS (12) -
NO
_ INSPECTING _ IVARS (12) - PrettyPrint (12)
- RSA (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) - SSLContext (12)
- SSLSocket (12)
- StoreContext (12)
- TEXT (12)
- TYPES (12)
- Text (12)
- TextInput (12)
- Textinput (60)
- TextinputBase (12)
- VISIBILITIES (12)
- [] (12)
- []= (12)
-
_ _ inspect _ _ (12) - about (12)
- about= (12)
-
add
_ class (12) -
add
_ class _ or _ module (12) -
add
_ module (12) -
add
_ special (12) -
ap
_ name (12) -
ap
_ name= (12) -
app
_ script _ text (12) - attr (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) -
cgi
/ session (12) - chain (12)
- charset (24)
- ciphers (12)
- ciphers= (12)
- cleanup (12)
-
client
_ ca (12) -
client
_ ca= (12) -
client
_ cert _ cb (12) -
client
_ cert _ cb= (12) - code (12)
-
comma
_ breakable (12) - content (12)
-
content
_ id (12) -
content
_ type (24) -
content
_ type= (12) - context (48)
-
current
_ cert (12) -
current
_ crl (12) - data (24)
- date (12)
- date= (12)
- decrypt (12)
- dedup (3)
-
default
_ ssl _ context (12) - description (48)
- description= (36)
- disposition (12)
- doctype (12)
- each (12)
-
each
_ element _ with _ text (12) - empty? (12)
-
enable
_ ssl (12) -
enable
_ starttls (12) -
enable
_ starttls _ auto (12) -
enable
_ tls (12) - encode (36)
- encoding (12)
- encrypt (12)
-
entity
_ expansion _ text _ limit (24) -
entity
_ expansion _ text _ limit= (24) - entitydecl (12)
- error (12)
- error= (12)
-
error
_ depth (12) -
error
_ string (12) - escapeHTML (12)
-
escape
_ html (12) - extension (12)
-
extra
_ chain _ cert (12) -
extra
_ chain _ cert= (12) -
file
_ input? (12) - first (12)
- first? (1)
- flags= (12)
-
flush
_ sessions (12) - generate (12)
-
get
_ text (12) - gettextfile (24)
- group (12)
- header (12)
- helpcontext (24)
- inspect (24)
- inspect? (12)
-
inspect
_ mode (12) -
inspect
_ mode= (12) - instance (24)
- io (12)
-
irb
_ context (12) -
irb
_ path (12) -
irb
_ path= (12) - key (12)
- key= (12)
- language (12)
- lines (12)
- link (36)
- link= (36)
-
load
_ mime _ types (12) -
main
_ type (12) - markup (12)
-
math
_ mode= (4) - md5 (12)
-
media
_ subtype (12) -
media
_ type (12) -
mime
_ type (12) - multipart? (12)
- name (36)
- name= (36)
-
net
/ imap (12) - new (198)
-
node
_ type (12) - normalize (12)
-
ole
_ show _ help (12) - open-uri (12)
- openssl (12)
- out (12)
- param (12)
- parent (12)
- parse (12)
- parse! (12)
- parts (12)
- pp (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)
- purpose= (12)
- puttextfile (24)
- query (12)
- rdoc (12)
-
rdoc
/ parser / text (12) -
record
_ location (12) -
renegotiation
_ cb (12) -
renegotiation
_ cb= (12) - resource (12)
- resource= (12)
-
rexml
/ parsers / pullparser (12) -
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (12) -
rexml
/ parsers / ultralightparser (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
rubygems
/ security (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
_ params (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)
- text? (12)
- textInput (12)
- textInput= (12)
- textinput (48)
- textinput= (24)
- time= (12)
- timeout (12)
- timeout= (12)
- title (36)
- title= (36)
-
tmp
_ dh _ callback (12) -
tmp
_ dh _ callback= (12) -
to
_ mailtext (12) -
to
_ proc (6) -
to
_ rfc822text (12) -
to
_ s (12) -
to
_ text (120) - toplevel (12)
- trust= (12)
- unnormalize (12)
-
use
_ loader= (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)
- write (24)
-
write
_ smime (12)
検索結果
先頭5件
-
CSV (60.0)
-
このクラスは CSV ファイルやデータに対する完全なインターフェイスを提供します。
...]{
require "csv"
csv_text = <<~CSV_TEXT
Ruby,1995
Rust,2010
CSV_TEXT
IO.write "sample.csv", csv_text
# ファイルから一行ずつ
CSV.foreach("sample.csv") do |row|
p row
end
# => ["Ruby", "1995"]
# ["Rust", "2010"]
# ファイルから一度に
p CSV.read("sample.csv")
# => [["Ruby......行ずつ
CSV.parse(csv_text) do |row|
p row
end
# => ["Ruby", "1995"]
# ["Rust", "2010"]
# 文字列から一度に
p CSV.parse(csv_text)
# => [["Ruby", "1995"], ["Rust", "2010"]]
//}
=== 書き込み
//emlist[][ruby]{
require 'csv'
# ファイルへ書き込み
CSV.open("path/to/file.csv"......]
# ...
end
//}
=== 一行変換
//emlist[][ruby]{
require 'csv'
csv_string = ["CSV", "data"].to_csv # => "CSV,data"
csv_array = "CSV,String".parse_csv # => ["CSV", "String"]
//}
=== ショートカット
//emlist[][ruby]{
require 'csv'
CSV { |csv_out| csv_out << %w{my data... -
rubygems
/ security (42.0) -
このライブラリは暗号署名を RubyGems パッケージに使用するために使用します。
...るために使用します。
=== 署名付きの Gem パッケージ
==== 目次
* 概要
* 解説
* コマンドラインオプション
* OpenSSL リファレンス
* Bugs / TODO
* 作者について
==== 概要
このライブラリは暗号署名を RubyGems パッケージに使用......のコマンドを実行するとそれらを作成することができます。
# gemmaster@example.com のための秘密鍵と証明書を作成します
$ gem cert --build gemmaster@example.com
あなたのコンピュータの性能にもよりますが、これには 5 秒から 10 分......フォーマットです) :
$ openssl x509 -in input.pem -outform der -out output.der
人間に読みやすいフォーマットで証明書を出力する :
$ openssl x509 -in input.pem -noout -text
秘密鍵に対しても同じことができます。
PEM フォーマットの RSA 鍵... -
Encoding
:: Converter . new(source _ encoding , destination _ encoding) -> Encoding :: Converter (24.0) -
Encoding::Converter オブジェクトを作成します。
...ェクトを作成します。
@param source_encoding 変換元のエンコーディング
@param destination_encoding 変換先のエンコーディング
@param options 変換の詳細を指定する定数やハッシュ
@param convpath 変換経路の配列
options では String#encode での......rter::INVALID_REPLACE
* Encoding::Converter::UNDEF_REPLACE
* Encoding::Converter::UNDEF_HEX_CHARREF
* Encoding::Converter::UNIVERSAL_NEWLINE_DECORATOR
* Encoding::Converter::CRLF_NEWLINE_DECORATOR
* Encoding::Converter::CR_NEWLINE_DECORATOR
* Encoding::Converter::XML_TEXT_DECORATOR
* E......rue)
p ec.convpath #=> [[#<Encoding:UTF-16BE>, #<Encoding:UTF-8>],
# "universal_newline"]
# But, if the last encoding is ASCII incompatible,
# decorators are inserted before the last conversion.
ec = Encoding::Converter.new("UTF-8", "UTF-16BE", :crlf_newline => true)
p ec.convpath... -
REXML
:: Instruction (18.0) -
XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。
...XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。
XML 処理命令 とは XML 文書中の <? と ?> で挟まれた部分のことで、
アプリケーションへの指示を保持するために使われます。
XML 宣言(文書先頭の <?xml version=... ?>)はXML処......equire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
//}... -
REXML
:: Instruction # content -> String | nil (18.0) -
XML 処理命令の内容を返します。
...w(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].conten... -
REXML
:: Instruction # target -> String (18.0) -
XML 処理命令のターゲットを返します。
...quire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"style.css\""
//}... -
REXML
:: StreamListener # entitydecl(content) -> () (18.0) -
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
...@param content 実体宣言が配列で渡されます
実体宣言の書き方によって content に渡されるデータの形式が異なります。
//emlist[][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<!DOCTYPE......He said %YN;">
<!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>......tent); p content; end
end
REXML::Parsers::StreamParser.new(xml, Listener.new).parse
# >> ["YN", "\"Yes\"", "%"]
# >> ["YN", "Yes", "%"]
# >> ["WhatHeSaid", "He said %YN;"]
# >> ["open-hatch", "SYSTEM", "http://www.textuality.com/boilerplate/OpenHatch.xml"]
# >> ["open-hatch", "PUBLIC", "-//Textualit...