276件ヒット
[101-200件を表示]
(0.144秒)
ライブラリ
- ビルトイン (24)
-
net
/ http (24) - optparse (24)
- psych (24)
-
rake
/ packagetask (12) -
rexml
/ document (72) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ platform (12) -
rubygems
/ specification (36) -
rubygems
/ version (24) -
webrick
/ httpversion (12)
クラス
-
Encoding
:: UndefinedConversionError (24) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Platform (12) -
Gem
:: Specification (36) -
Gem
:: Version (24) -
Net
:: HTTP (12) -
Net
:: HTTPResponse (12) - OptionParser (24)
-
Psych
:: Nodes :: Node (24) -
REXML
:: Document (36) -
REXML
:: Instruction (24) -
REXML
:: XMLDecl (12) -
Rake
:: PackageTask (12) -
WEBrick
:: HTTPVersion (12)
キーワード
- content (12)
-
destination
_ encoding _ name (12) - encoding (12)
-
error
_ char (12) -
full
_ name (12) -
get
_ path (12) -
http
_ version (12) -
mark
_ version (12) -
rubygems
_ version (12) -
ssl
_ version (12) -
stand
_ alone? (12) - target (12)
-
to
_ s (24) -
to
_ yaml (12) - ver (12)
- yaml (12)
検索結果
先頭5件
-
Gem
:: Specification # mark _ version -> String (6203.0) -
RubyGems のバージョンを内部にセットします。
RubyGems のバージョンを内部にセットします。 -
Gem
:: Specification # rubygems _ version -> String (6203.0) -
この Gem パッケージを作成した RubyGems のバージョンを返します。
この Gem パッケージを作成した RubyGems のバージョンを返します。 -
Gem
:: Version # to _ s -> String (3134.0) -
バージョン情報を文字列として返します。
...バージョン情報を文字列として返します。
//emlist[][ruby]{
version = Gem::Version.new("1.2.3a")
p version.to_s # => "1.2.3a"
p version.version # => "1.2.3a"
//}... -
Encoding
:: UndefinedConversionError # destination _ encoding _ name -> String (3102.0) -
エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
...エラーを発生させた変換の変換先のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#destination_encoding... -
Encoding
:: UndefinedConversionError # error _ char -> String (3102.0) -
エラーを発生させた1文字を文字列で返します。
...エラーを発生させた1文字を文字列で返します。
//emlist[例][ruby]{
ec = Encoding::Converter.new("UTF-8", "EUC-JP")
begin
ec.convert("\u{a0}")
rescue Encoding::UndefinedConversionError
puts $!.error_char.dump #=> "\u{a0}"
end
//}... -
WEBrick
:: HTTPVersion # to _ s -> String (3102.0) -
自身を文字列に変換して返します。
...自身を文字列に変換して返します。
require 'webrick'
v = WEBrick::HTTPVersion.new('1.1')
p v.to_s #=> "1.1"... -
Gem
:: Commands :: UnpackCommand # get _ path(gemname , version _ req) -> String | nil (209.0) -
引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。
...引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。
@param gemname Gem パッケージの名前を指定します。
@param version_req バージョンの満たすべき条件を文字列で指定します。... -
OptionParser
# ver -> String (136.0) -
program_name、version と release から生成したバージョンを表す文字列を返します。
...program_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
//}... -
Gem
:: Specification # full _ name -> String (124.0) -
この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
...この Gem パッケージのバージョンを含む完全な名前 (name-version) を返します。
プラットフォームの情報が指定されている場合は、それも含みます (name-version-platform)。...