1596件ヒット
[1-100件を表示]
(0.098秒)
別のキーワード
ライブラリ
- ビルトイン (252)
-
cgi
/ html (24) - delegate (24)
-
irb
/ input-method (48) -
net
/ ftp (108) -
net
/ http (144) -
net
/ imap (36) - openssl (60)
- optparse (36)
-
rake
/ packagetask (72) -
rdoc
/ markup (12) -
rexml
/ document (216) - socket (72)
- stringio (24)
- strscan (36)
- weakref (12)
-
webrick
/ cgi (12) -
webrick
/ httpauth / htdigest (12) -
webrick
/ httpauth / htpasswd (12) -
webrick
/ httpauth / userdb (12) -
webrick
/ httprequest (24) -
webrick
/ httpservlet / abstract (84) -
webrick
/ httpservlet / cgihandler (24) -
webrick
/ httpservlet / erbhandler (24) -
webrick
/ httpservlet / filehandler (36) -
webrick
/ httpservlet / prochandler (36) -
webrick
/ httputils (96) - win32ole (12)
- zlib (36)
クラス
-
ARGF
. class (24) - Addrinfo (12)
- BasicSocket (48)
- Binding (48)
- Delegator (12)
- Exception (24)
- IO (24)
-
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (12) -
IRB
:: ReadlineInputMethod (12) -
IRB
:: StdioInputMethod (12) - Module (24)
-
Net
:: FTP (108) -
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (12) -
Net
:: HTTPResponse (48) -
Net
:: IMAP (36) - Object (48)
-
OpenSSL
:: SSL :: SSLContext (24) - OptionParser (24)
-
RDoc
:: Markup (12) -
REXML
:: Attribute (36) -
REXML
:: Attributes (144) -
REXML
:: Element (36) -
Rake
:: PackageTask (72) - SimpleDelegator (12)
- Socket (12)
- String (12)
- StringIO (24)
- StringScanner (36)
- Thread (48)
-
WEBrick
:: CGI (12) -
WEBrick
:: HTTPAuth :: Htdigest (12) -
WEBrick
:: HTTPAuth :: Htpasswd (12) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPServlet :: AbstractServlet (84) -
WEBrick
:: HTTPServlet :: CGIHandler (24) -
WEBrick
:: HTTPServlet :: DefaultFileHandler (24) -
WEBrick
:: HTTPServlet :: ERBHandler (24) -
WEBrick
:: HTTPServlet :: FileHandler (12) -
WEBrick
:: HTTPServlet :: ProcHandler (36) -
WEBrick
:: HTTPUtils :: FormData (96) - WIN32OLE (12)
- WeakRef (12)
-
Zlib
:: GzipReader (36)
モジュール
-
CGI
:: HtmlExtension (24) -
Net
:: HTTPHeader (72) -
OpenSSL
:: Buffering (36) -
OptionParser
:: Arguable (12) -
WEBrick
:: HTTPAuth :: UserDB (12)
キーワード
- == (12)
- [] (36)
- []= (12)
-
_ _ getobj _ _ (36) -
_ getproperty (12) -
add
_ field (12) - attribute (12)
-
backtrace
_ locations (12) -
basic
_ auth (12) - binary (12)
- binary= (12)
- body (12)
- chunked? (12)
-
class
_ variable _ get (12) -
connect
_ from (12) -
connect
_ nonblock (12) -
const
_ get (12) - delete (12)
-
delete
_ all (12) -
do
_ DELETE (12) -
do
_ GET (72) -
do
_ HEAD (12) -
do
_ OPTIONS (12) -
do
_ POST (48) -
do
_ PUT (12) - each (12)
-
each
_ attribute (12) -
each
_ data (12) - entity (12)
- eval (12)
- filename (12)
- filename= (12)
- form (24)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ byte (12) -
get
_ instance (12) -
get
_ line _ types (12) -
get
_ passwd (36) -
get
_ text (12) - getacl (12)
- getbinaryfile (24)
- getbyte (60)
- getc (36)
- getch (12)
- getopts (36)
- getpeereid (12)
- getpeername (12)
- getquota (12)
- getquotaroot (12)
- gets (72)
- getsockname (12)
- getsockopt (12)
- gettextfile (24)
-
instance
_ variable _ defined? (12) -
instance
_ variable _ get (12) -
instance
_ variable _ set (12) -
instance
_ variables (12) - key? (12)
- length (12)
- list (12)
-
local
_ variable _ defined? (12) -
local
_ variable _ get (12) -
local
_ variable _ set (12) -
make
_ partial _ content (12) - name (12)
- name= (12)
- namespace (12)
- namespaces (12)
-
need
_ tar (12) -
need
_ tar _ bz2 (12) -
need
_ tar _ bz2= (12) -
need
_ tar _ gz (12) -
need
_ zip (12) - prefix (12)
- prefixes (12)
-
proxy
_ basic _ auth (12) -
read
_ body (24) -
request
_ line (12) -
request
_ method (12) -
response
_ body _ permitted? (12) - resume (12)
- service (24)
-
session
_ get _ cb (12) -
session
_ get _ cb= (12) - size (12)
-
sub
_ type (12) -
tar
_ bz2 _ file (12) - text (12)
-
thread
_ variable? (12) -
thread
_ variable _ get (12) -
thread
_ variable _ set (12) -
to
_ ary (12) -
to
_ string (12) - ungetbyte (24)
- ungetc (24)
検索結果
先頭5件
- Net
:: HTTP # get(path , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse - 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
:: HTTP # get(path , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (18233.0) -
サーバ上の path にあるエンティティを取得し、 Net::HTTPResponse のインスタンスとして返します。
...ボディを少しずつ文字列として
ブロックに与えます。このとき戻り値の
Net::HTTPResponse オブジェクトは有効な body を
持ちません。
dest は時代遅れの引数です。利用しないでください。
dest を指定した場合には
ボディを少し......st[例][ruby]{
# net/http version 1.1
response, body = http.get( '/index.html' )
# net/http version 1.2
response = http.get('/index.html')
# compatible in both version
response , = http.get('/index.html')
response.body
# compatible, using block
File.open('save.txt', 'w') {|f|
http.get('/~foo/',......nil) do |str|
f.write str
end
}
//}
@see Net::HTTP#request_get... -
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 取得......トのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@param blocksize データ転送の単位をバイト単位で与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。... -
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 取得......トのファイル名を与えます。
@param localfile 取得したデータを格納するローカルのファイル名を与えます。
@param blocksize データ転送の単位をバイト単位で与えます。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (15332.0) -
namespace と 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("/root/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("a......tt") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
Delegator
# _ _ getobj _ _ -> object (12301.0) -
委譲先のオブジェクトを返します。
委譲先のオブジェクトを返します。
本メソッドは、サブクラスで再定義する必要があり、
デフォルトでは NotImplementedError が発生します。
@raise NotImplementedError サブクラスにて本メソッドが再定義されていない場合に発生します。 -
SimpleDelegator
# _ _ getobj _ _ -> object (12301.0) -
委譲先のオブジェクトを返します。
...委譲先のオブジェクトを返します。
@see Delegator#__getobj__... -
WeakRef
# _ _ getobj _ _ -> object (12301.0) -
自身の参照先のオブジェクトを返します。
自身の参照先のオブジェクトを返します。
@raise WeakRef::RefError GC 済みのオブジェクトを参照した場合に発生します。
@see delegate -
StringScanner
# get _ byte -> String | nil (12256.0) -
1 バイトスキャンして文字列で返します。 スキャンポインタをその後ろに進めます。 スキャンポインタが文字列の末尾を指すなら nil を返します。
...canner#getbyte は将来のバージョンで削除される予定です。
代わりに StringScanner#get_byte を使ってください。
//emlist[例][ruby]{
require 'strscan'
utf8 = "\u{308B 3073 3044}"
s = StringScanner.new(utf8.encode("EUC-JP"))
p s.get_byte #=> "\xA4"
p s.get_byte......#=> "\xEB"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xD3"
p s.get_byte #=> "\xA4"
p s.get_byte #=> "\xA4"
p s.get_byte #=> nil
//}...