1584件ヒット
[201-300件を表示]
(0.096秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (48) -
cgi
/ html (312) - csv (12)
-
net
/ ftp (30) -
net
/ http (36) -
net
/ imap (396) -
net
/ smtp (12) - open-uri (48)
- pathname (12)
- resolv (36)
-
rexml
/ document (108) -
rubygems
/ package / tar _ header (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (12)
- uri (12)
-
webrick
/ httpauth / userdb (12) -
webrick
/ httprequest (24) -
webrick
/ httpresponse (12) -
webrick
/ httputils (12) -
win32
/ registry (24) - win32ole (384)
クラス
- CGI (24)
- CSV (12)
-
File
:: Stat (12) -
Gem
:: Package :: TarHeader (12) -
Net
:: FTP :: MLSxEntry (30) -
Net
:: IMAP :: BodyTypeBasic (108) -
Net
:: IMAP :: BodyTypeMessage (108) -
Net
:: IMAP :: BodyTypeMultipart (60) -
Net
:: IMAP :: BodyTypeText (108) -
Net
:: IMAP :: ContentDisposition (12) -
Net
:: SMTP (12) - Pathname (12)
-
REXML
:: DocType (84) -
REXML
:: Instruction (24) -
Resolv
:: DNS (36) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Socket
:: AncillaryData (12) -
URI
:: FTP (12) -
WEBrick
:: HTTPRequest (24) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPUtils :: FormData (12) -
WIN32OLE
_ METHOD (96) -
WIN32OLE
_ PARAM (48) -
WIN32OLE
_ TYPE (108) -
WIN32OLE
_ TYPELIB (60) -
WIN32OLE
_ VARIABLE (60) -
WIN32OLE
_ VARIANT (12) -
Win32
:: Registry (24)
モジュール
-
CGI
:: HtmlExtension (312) -
CGI
:: QueryExtension (24) -
Net
:: HTTPHeader (36) -
OpenURI
:: Meta (36) -
OpenURI
:: OpenRead (12) -
WEBrick
:: HTTPAuth :: UserDB (12)
キーワード
- [] (24)
-
attribute
_ of (12) -
auth
_ type (12) -
capable
_ auth _ types (12) - charset (24)
- checkbox (24)
-
checkbox
_ group (24) - content (12)
-
content
_ id (36) -
content
_ type (60) - data (12)
- description (36)
-
dsp
_ type (12) -
each
_ resource (12) - encoding (36)
- entities (12)
- entity (12)
-
event
_ interface (12) -
external
_ id (12) - facts (10)
-
file
_ field (24) - form (24)
- ftype (42)
- getresource (12)
- getresources (12)
- guid (24)
- header (12)
- helpfile (24)
- helpstring (24)
- hidden (24)
- inspect (24)
-
invoke
_ kind (12) - language (48)
-
library
_ name (12) -
main
_ type (12) -
make
_ passwd (12) - md5 (36)
-
media
_ subtype (48) -
media
_ type (58) -
multipart
_ form (24) - name (72)
-
ole
_ type (36) -
ole
_ type _ detail (24) - out (12)
- param (48)
-
password
_ field (24) - path (12)
- progid (12)
- public (12)
- query (12)
-
radio
_ group (24) - read (24)
- reset (24)
-
return
_ type (12) -
return
_ type _ detail (12) -
src
_ type (12) -
sub
_ type (12) - submit (24)
- subtype (48)
- system (12)
- target (12)
-
text
_ field (24) -
to
_ s (60) - typecode (12)
- typeflag (12)
-
variable
_ kind (12) - vartype (12)
検索結果
先頭5件
-
OpenURI
:: Meta # content _ type -> String (6257.0) -
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。 Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
...の Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "text/h......Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
URI.open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "text/... -
Net
:: HTTPHeader # content _ type -> String|nil (6243.0) -
"text/html" のような Content-Type を表す 文字列を返します。
..."text/html" のような Content-Type を表す
文字列を返します。
Content-Type: ヘッダフィールドが存在しない場合には nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.......new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}... -
WIN32OLE
_ VARIABLE # ole _ type _ detail -> [String] (6233.0) -
変数の型と属性を取得します。
...32OLE_TYPE.new('Microsoft XML, v5.0', 'tagSTATSTG')
tobj.variables.each do |v|
puts "#{v.ole_type} [#{v.ole_type_detail.join(', ')}] #{v.name}"
end
出力結果
Unknown Type 31 [] pwcsName # => VT_LPWSTR はWIN32OLE::VARIANTで未定義なので変換できない
UI4 [UI4] type
_UL... -
WIN32OLE
_ METHOD # return _ type _ detail -> [String] (6221.0) -
返り値の型と属性を取得します。
...tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Application')
method = WIN32OLE_METHOD.new(tobj, 'Workbooks')
p method.return_type_detail # => ["PTR", "USERDEFINED", "Workbooks"]
属性が付加されていない場合は、WIN32OLE_METHOD#return_typeを要素と
した... -
WIN32OLE
_ PARAM # ole _ type -> String (6221.0) -
パラメータの型名を取得します。
...情報が見つからない場合は、"unknown type"を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj, 'SaveAs')
param1 = method.params[0]
puts param1.ole_type # => VARIANT
OLEオートメーションの型... -
WIN32OLE
_ VARIABLE # ole _ type -> String (6221.0) -
変数の型を取得します。
...「Unknown Type nn」(nnはバリアント型を示す数値)の形式の文字列
を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'XlSheetType')
variables = tobj.variables
variables.each do |variable|
puts "#{variable.ole_type} #{variable... -
CGI
:: QueryExtension # auth _ type -> String (6219.0) -
ENV['AUTH_TYPE'] を返します。
...ENV['AUTH_TYPE'] を返します。... -
CGI
:: QueryExtension # content _ type -> String (6219.0) -
ENV['CONTENT_TYPE'] を返します。
...ENV['CONTENT_TYPE'] を返します。... -
WEBrick
:: HTTPRequest # content _ type -> String | nil (6219.0) -
リクエストの Content-Type ヘッダを文字列で返します。
...リクエストの Content-Type ヘッダを文字列で返します。... -
WEBrick
:: HTTPResponse # content _ type -> String | nil (6219.0) -
Content-Type ヘッダの値を返します。
...Content-Type ヘッダの値を返します。...