192件ヒット
[1-100件を表示]
(0.134秒)
ライブラリ
- ビルトイン (24)
-
net
/ http (24) - optparse (24)
-
rake
/ packagetask (12) -
rexml
/ document (24) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ platform (12) -
rubygems
/ specification (24) -
rubygems
/ version (24) -
webrick
/ httpversion (12)
クラス
-
Encoding
:: UndefinedConversionError (24) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Platform (12) -
Gem
:: Specification (24) -
Gem
:: Version (24) -
Net
:: HTTP (12) -
Net
:: HTTPResponse (12) - OptionParser (24)
-
REXML
:: Document (12) -
REXML
:: XMLDecl (12) -
Rake
:: PackageTask (12) -
WEBrick
:: HTTPVersion (12)
キーワード
-
destination
_ encoding _ name (12) -
error
_ char (12) -
get
_ path (12) -
http
_ version (12) -
mark
_ version (12) -
rubygems
_ version (12) -
ssl
_ version (12) -
to
_ s (24)
検索結果
先頭5件
-
Gem
:: Version # version -> String (27434.0) -
バージョン情報を文字列として返します。
...バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//}... -
REXML
:: Document # version -> String (27415.0) -
XML 宣言に含まれている XML 文書のバージョンを返します。
...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.version # => "1.0"
//}... -
OptionParser
# version -> String (27409.0) -
プログラムのバージョンを文字列で返します。
...プログラムのバージョンを文字列で返します。
@return プログラムのバージョンを文字列で返します。
@see OptionParser#ver... -
Gem
:: Platform # version -> String (27403.0) -
プラットフォームのバージョンを返します。
プラットフォームのバージョンを返します。 -
Rake
:: PackageTask # version -> String (27403.0) -
作成するパッケージのバージョンを表す文字列を返します。
作成するパッケージのバージョンを表す文字列を返します。 -
REXML
:: XMLDecl # version -> String (24403.0) -
XML文書のバージョンを文字列で返します。
XML文書のバージョンを文字列で返します。 -
OptionParser
# ver -> String (21343.0) -
program_name、version と release から生成したバージョンを表す文字列を返します。
...ogram_name、version と release から生成したバージョンを表す文字列を返します。
//emlist[例][ruby]{
require "optparse"
OptionParser.new do |opts|
opts.banner = "Usage: example.rb [options]"
opts.program_name = "Optparse Example"
opts.version = [0, 1]
opts.release =......"2019-05-01"
opts.on_tail("--version", "Show version") do
puts opts.ver # => "Optparse Example 0.1 (2019-05-01)"
exit
end
opts.parse!(ARGV)
end
//}... -
Net
:: HTTPResponse # http _ version -> String (18409.0) -
サーバがサポートしている HTTP のバージョンを文字列で返します。
...サーバがサポートしている HTTP のバージョンを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.http_version # => "1.1"
//}... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (18302.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding...