1320件ヒット
[1-100件を表示]
(0.099秒)
ライブラリ
- ビルトイン (88)
-
cgi
/ html (44) - getoptlong (55)
-
irb
/ input-method (44) - mkmf (22)
-
net
/ ftp (66) -
net
/ http (187) -
net
/ imap (22) - openssl (44)
- optparse (11)
-
rdoc
/ markup (11) - resolv (33)
-
rexml
/ document (209) -
rexml
/ sax2listener (11) - rubygems (11)
-
rubygems
/ command (11) -
rubygems
/ commands / unpack _ command (11) -
rubygems
/ remote _ fetcher (33) - stringio (22)
- strscan (33)
-
webrick
/ httpauth / htdigest (11) -
webrick
/ httpauth / htpasswd (11) -
webrick
/ httpauth / userdb (11) -
webrick
/ httprequest (22) -
webrick
/ httpservlet / abstract (77) -
webrick
/ httpservlet / cgihandler (22) -
webrick
/ httpservlet / erbhandler (22) -
webrick
/ httpservlet / filehandler (33) -
webrick
/ httpservlet / prochandler (22) -
webrick
/ httputils (88) - win32ole (22)
- zlib (11)
クラス
-
Gem
:: Command (11) -
Gem
:: Commands :: UnpackCommand (11) -
Gem
:: LoadError (11) -
Gem
:: RemoteFetcher (33) - GetoptLong (55)
- IO (22)
-
IRB
:: FileInputMethod (11) -
IRB
:: InputMethod (11) -
IRB
:: ReadlineInputMethod (11) -
IRB
:: StdioInputMethod (11) - Module (22)
-
Net
:: FTP (66) -
Net
:: HTTP (77) -
Net
:: HTTPGenericRequest (33) -
Net
:: HTTPResponse (11) -
Net
:: IMAP (22) - Object (11)
-
OpenSSL
:: Config (11) -
RDoc
:: Markup (11) -
REXML
:: Attribute (33) -
REXML
:: Attributes (132) -
REXML
:: Element (22) -
REXML
:: Instruction (22) -
Resolv
:: DNS (22) -
Resolv
:: DNS :: Resource :: IN :: SRV (11) - StringIO (22)
- StringScanner (33)
- Thread (11)
- Time (22)
-
WEBrick
:: HTTPAuth :: Htdigest (11) -
WEBrick
:: HTTPAuth :: Htpasswd (11) -
WEBrick
:: HTTPRequest (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (77) -
WEBrick
:: HTTPServlet :: CGIHandler (22) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (22) -
WEBrick
:: HTTPServlet :: ERBHandler (22) -
WEBrick
:: HTTPServlet :: FileHandler (11) -
WEBrick
:: HTTPServlet :: ProcHandler (22) -
WEBrick
:: HTTPUtils :: FormData (88) - WIN32OLE (22)
-
Zlib
:: GzipReader (11)
モジュール
-
CGI
:: HtmlExtension (44) - Kernel (22)
-
Net
:: HTTPHeader (66) -
OpenSSL
:: Buffering (33) -
OptionParser
:: Arguable (11) -
REXML
:: SAX2Listener (11) -
WEBrick
:: HTTPAuth :: UserDB (11)
キーワード
- [] (22)
- []= (11)
- attribute (11)
-
basic
_ auth (11) - chunked? (11)
-
class
_ variable _ get (11) -
const
_ get (11) -
create
_ makefile (11) - delete (11)
-
delete
_ all (11) -
dir
_ config (11) -
do
_ DELETE (11) -
do
_ GET (66) -
do
_ HEAD (11) -
do
_ OPTIONS (11) -
do
_ POST (44) -
do
_ PUT (11) - each (11)
-
each
_ attribute (11) -
each
_ data (11) -
each
_ value (11) - fetch (11)
- filename (11)
- filename= (11)
- form (44)
-
get
_ attribute (11) -
get
_ attribute _ ns (11) -
get
_ byte (11) -
get
_ file _ uri _ path (11) -
get
_ line _ types (11) -
get
_ one _ optional _ argument (11) -
get
_ passwd (33) -
get
_ path (11) -
get
_ proxy _ from _ env (11) -
get
_ value (11) - getbinaryfile (22)
- getbyte (11)
- getc (11)
- getch (11)
- getlocal (11)
- getopts (11)
- getquota (11)
- getquotaroot (11)
- getresource (11)
- getresources (11)
- gets (55)
- getutc (11)
-
instance
_ variable _ set (11) - length (11)
- list (11)
-
make
_ partial _ content (11) - method (11)
- name (11)
- name= (11)
- namespace (11)
- namespaces (11)
-
ole
_ func _ methods (11) -
ole
_ put _ methods (11) - path (11)
- prefix (11)
- prefixes (11)
-
processing
_ instruction (11) -
proxy
_ basic _ auth (11) - quiet (11)
- quiet= (11)
- quiet? (11)
- request (33)
-
request
_ get (22) -
request
_ head (22) -
request
_ line (11) -
request
_ method (11) -
response
_ body _ permitted? (11) - resume (11)
-
root
_ node (11) -
send
_ request (11) - service (11)
-
set
_ socket (11) - size (11)
-
sub
_ type (11) - target (22)
- target= (11)
- terminated? (11)
-
thread
_ variable _ set (11) -
to
_ ary (11) -
to
_ string (11) - ungetbyte (22)
- ungetc (44)
- value (11)
-
version
_ requirement (11)
検索結果
先頭5件
- Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil - Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) { |data| . . . . } -> nil - REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil - REXML
:: Attributes # get _ attribute(name) -> Attribute | nil - Net
:: IMAP # getquotaroot(mailbox) -> [Net :: IMAP :: MailboxQuotaRoot | Net :: IMAP :: MailboxQuota]
-
Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) -> nil (18203.0) -
サーバ上のファイルを取得します。
...サーバ上のファイルを取得します。
Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。
binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。
@param remotefile 取... -
Net
:: FTP # get(remotefile , localfile = File . basename(remotefile) , blocksize = DEFAULT _ BLOCKSIZE) { |data| . . . . } -> nil (18203.0) -
サーバ上のファイルを取得します。
...サーバ上のファイルを取得します。
Net::FTP#binary の値に従って
Net::FTP#getbinaryfile もしくは
Net::FTP#gettextfile を呼びだします。
binary が偽のとき、つまりテキストモードの
ときには blocksize は無視されます。
@param remotefile 取... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (15332.0) -
namespace と name で特定される属性を返します。
...前空間(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/ro......ot/a").first
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (15320.0) -
name という名前の属性を取得します。
...Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute("at......t") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
Net
:: IMAP # getquotaroot(mailbox) -> [Net :: IMAP :: MailboxQuotaRoot | Net :: IMAP :: MailboxQuota] (12401.0) -
GETQUOTAROOT コマンドを送って 指定したメールボックスの quota root の一覧と、 関連する quota の情報を返します。
...GETQUOTAROOT コマンドを送って
指定したメールボックスの quota root の一覧と、
関連する quota の情報を返します。
quota root の情報は Net::IMAP::MailboxQuotaRoot のオブジェクトで、
返り値の配列の中に唯一含まれています。
quota の情......付けられた quota root ごとに
Net::IMAP::MailboxQuota オブジェクトで得られます。
詳しくは 2087 を見てください。
このコマンドは Net::IMAP#capability の返り値を見ることで
利用可能かどうか判断できます。
@param mailbox quota root を得... -
Gem
:: RemoteFetcher # get _ file _ uri _ path(uri) -> String (12302.0) -
与えられた URI から "file://" を取り除いた文字列を返します。
...与えられた URI から "file://" を取り除いた文字列を返します。
@param uri URI を表す文字列を指定します。... -
Net
:: IMAP # getquota(mailbox) -> [Net :: IMAP :: MailboxQuota] (12301.0) -
GETQUOTA コマンドを送って 指定したメールボックスの quota の情報を返します。
...GETQUOTA コマンドを送って
指定したメールボックスの quota の情報を返します。
quota の情報は Net::IMAP::MailboxQuota オブジェクトの配列で
得られます。
詳しくは 2087 を見てください。
このコマンドは Net::IMAP#capability の返り値......を見ることで
利用可能かどうか判断できます。
@param mailbox quota 情報を得たいメールボックス名
@raise Net::IMAP::NoResponseError 指定したメールボックスが quota root でない場合に発生します... -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (12301.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
...NS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN......Resolv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (12301.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
...NS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS::Resource::IN::MX
* Resolv::DNS::Resource::IN::TXT
* Resolv::DNS::Resource::IN......Resolv::DNS::Resource::IN::WKS
* Resolv::DNS::Resource::IN::PTR
* Resolv::DNS::Resource::IN::AAAA
* Resolv::DNS::Resource::IN::SRV
ルックアップ結果は Resolv::DNS::Resource (のサブクラス)のインスタンスとなります。
typeclass に Resolv::DNS::Resource::IN::ANY 以... -
Zlib
:: GzipReader # ungetc(char) -> nil (12213.0) -
IO クラスの同名メソッド IO#ungetc と同じです。
...IO クラスの同名メソッド IO#ungetc と同じです。
IO クラスの同名メソッドと同じですが、gzip ファイル中に
エラーがあった場合 Zlib::Error 例外や
Zlib::GzipFile::Error 例外が発生します。
gzip ファイルのフッターの処理に注意して......ち Zlib::GzipReader#read,
Zlib::GzipReader#gets メソッド等が nil を返す時。
* EOF まで読み込んだ後、Zlib::GzipFile#close メソッドが
呼び出された時。
* EOF まで読み込んだ後、Zlib::GzipReader#unused メソッドが
呼び出された時。
@p......::LengthErrorを参照
require 'zlib'
=begin
# hoge.gz がない場合はこれで作成する。
Zlib::GzipWriter.open('hoge.gz') { |gz|
gz.print 'hogefuga'
}
=end
Zlib::GzipReader.open('hoge.gz') { |gz|
begin
c1 = gz.getc
c2 = gz.getc
break if c2.nil?...