756件ヒット
[1-100件を表示]
(0.043秒)
別のキーワード
ライブラリ
- ビルトイン (12)
- csv (12)
- erb (24)
- json (108)
-
json
/ add / struct (12) - logger (24)
- openssl (72)
- optparse (168)
- pathname (48)
-
rake
/ packagetask (12) -
rdoc
/ markup (36) -
rexml
/ document (84) - socket (48)
- time (36)
- uri (12)
-
webrick
/ httputils (48)
クラス
- Addrinfo (24)
- BasicSocket (24)
- CSV (12)
- ERB (24)
-
JSON
:: Parser (12) -
JSON
:: State (72) - Logger (24)
- Module (12)
-
OpenSSL
:: ASN1 :: ObjectId (48) -
OpenSSL
:: X509 :: Name (24) - OptionParser (168)
- Pathname (48)
-
RDoc
:: Markup (36) -
REXML
:: Attribute (24) -
REXML
:: Attributes (24) -
REXML
:: DocType (12) -
REXML
:: Element (24) -
Rake
:: PackageTask (12) - Struct (12)
- Time (36)
-
URI
:: Generic (12) -
WEBrick
:: HTTPUtils :: FormData (48)
キーワード
- [] (12)
-
add
_ html (12) -
add
_ special (12) -
add
_ word _ pair (12) - autoload (12)
- binread (12)
- canonname (12)
-
col
_ sep (12) -
external
_ id (12) - filename (24)
- filename= (24)
- formatter (12)
- getnameinfo (12)
- getpeername (12)
- getsockname (12)
- hostname (12)
- httpdate (12)
- ln (12)
-
long
_ name (12) - name= (12)
- namespace (24)
- namespaces (24)
-
object
_ nl (12) -
object
_ nl= (12) - on (144)
- progname (12)
-
program
_ name (12) - rfc2822 (12)
- rfc822 (12)
-
short
_ name (12) - sn (12)
- source (12)
- space (12)
- space= (12)
-
space
_ before (12) -
space
_ before= (12) - sub (24)
-
to
_ a (12) -
to
_ json (36) -
to
_ s (24) -
to
_ string (12) - ver (12)
検索結果
先頭5件
-
WEBrick
:: HTTPUtils :: FormData # name -> String | nil (18238.0) -
フォームデータの name 属性を文字列で表すアクセサです。
...フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCG... -
Rake
:: PackageTask # name -> String (18215.0) -
バージョン情報を含まないパッケージの名前を返します。
...バージョン情報を含まないパッケージの名前を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'
Rake::PackageTask.new("sample", "1.0.0") do |package_task|
package_task.name # => "sample"
end
//}... -
Addrinfo
# getnameinfo(flags=0) -> [String , String] (6309.0) -
ノード名とサービスを文字列の配列で返します。
...ビット OR を渡します。
require 'socket'
Addrinfo.tcp("127.0.0.1", 80).getnameinfo
#=> ["localhost", "www"]
Addrinfo.tcp("127.0.0.1", 80).getnameinfo(Socket::NI_NUMERICSERV)
#=> ["localhost", "80"]
@param flags フラグ
@raise SocketError getnameinfo(3) がエラーを起こし......た場合に生じる例外
@see Socket.getnameinfo... -
REXML
:: Attributes # namespaces -> { String => String } (6309.0) -
self の中で宣言されている名前空間の集合を返します。
...//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
p doc.root.attributes.namespaces
# => {"foo"=......>"http://example.org/foo", "bar"=>"http://example.org/bar"}
p a.attributes.namespaces
# => {}
//}... -
REXML
:: Element # namespaces -> {String => String} (6309.0) -
self の文脈で定義されている名前空間の情報を返します。
...義されている名前空間を、{ prefix => 識別子 }
というハッシュテーブルで返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a xmlns:x='1' xmlns:y='2'><b/><c xmlns:z='3'/></a>")
doc.elements['//b'].namespaces # => {"x"=>"1", "y"=>"2"}
//}... -
REXML
:: Attribute # to _ string -> String (6231.0) -
"name='value'" という形式の文字列を返します。
..."name='value'" という形式の文字列を返します。
//emlist[][ruby]{
require 'rexml/document'
e = REXML::Element.new("el")
e.add_attribute("ns:r", "rval")
p e.attributes.get_attribute("r").to_string # => "ns:r='rval'"
//}... -
OpenSSL
:: ASN1 :: ObjectId # short _ name -> String | nil (6226.0) -
オブジェクト識別子に対応する short name を返します。
...オブジェクト識別子に対応する short name を返します。
例:
require "openssl"
oid = OpenSSL::ASN1::ObjectId.new("subjectAltName")
p oid.sn #=> "subjectAltName"
@see OpenSSL::ASN1::ObjectId#ln... -
OptionParser
# program _ name -> String (6215.0) -
プログラムの名前を文字列で返します。
...字列で返します。
デフォルトは $0 が使われます。
@return プログラムの名前を文字列で返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
p $0 # => /path/to/filename.rb
p opts.program_name # => filename
end
//}... -
Addrinfo
# canonname -> String|nil (6208.0) -
カノニカル名を文字列で返します。
...CANONINAME
を指定した場合にセットされます。
require 'socket'
list = Addrinfo.getaddrinfo("www.ruby-lang.org", 80, :INET, :STREAM, nil, Socket::AI_CANONNAME)
p list[0] #=> #<Addrinfo: 221.186.184.68:80 TCP carbon.ruby-lang.org (www.ruby-lang.org:80)>
p list[0].canonname #=>...