216件ヒット
[1-100件を表示]
(0.044秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
net
/ http (12) - optparse (36)
-
rexml
/ document (60) - rubygems (12)
-
rubygems
/ requirement (36) -
rubygems
/ specification (48)
クラス
-
Gem
:: Requirement (36) -
Gem
:: Specification (48) -
Net
:: HTTPResponse (12) - OptionParser (24)
-
REXML
:: Document (36) -
REXML
:: Instruction (24) -
RubyVM
:: InstructionSequence (12)
モジュール
- Kernel (12)
-
OptionParser
:: Arguable (12)
キーワード
- === (12)
- =~ (12)
- content (12)
- encoding (12)
- gem (12)
- getopts (12)
-
http
_ version (12) -
on
_ tail (12) -
required
_ ruby _ version (12) -
required
_ ruby _ version= (12) -
required
_ rubygems _ version (12) -
required
_ rubygems _ version= (12) -
satisfied
_ by? (12) -
stand
_ alone? (12) - target (12)
-
to
_ a (12) - ver (12)
検索結果
先頭5件
-
RubyVM
:: InstructionSequence # to _ a -> Array (23031.0) -
self の情報を 14 要素の配列にして返します。
...ータフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データフォーマットを......配列。
: args
引数の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報につい......命令シーケンスを構成する命令とオペランドの配列の配列。
//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_... -
Gem
:: Specification # required _ ruby _ version -> Gem :: Requirement (18419.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンを返します。... -
Gem
:: Specification # required _ ruby _ version=(requirement) (18419.0) -
この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
...この Gem パッケージを動作させるのに必要な Ruby のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement... -
Gem
:: Specification # required _ rubygems _ version -> Gem :: Requirement (18402.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンを返します。... -
Gem
:: Specification # required _ rubygems _ version=(requirement) (18402.0) -
この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
...この Gem パッケージを動作させるのに必要な RubyGems のバージョンをセットします。
@param requirement Gem::Requirement.create が受け付ける形式のオブジェクトを指定します。
@see Gem::Requirement... -
REXML
:: Document # version -> String (18126.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"
//}... -
Net
:: HTTPResponse # http _ version -> String (6120.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"
//}... -
Gem
:: Requirement # ===(version) -> bool (3150.0) -
引数 version が自身に含まれる全ての必要条件を満たす場合に true を返します。 そうでなければ、false を返します。
...引数 version が自身に含まれる全ての必要条件を満たす場合に true を返します。
そうでなければ、false を返します。
@param version Gem::Version のインスタンスを指定します。
//emlist[][ruby]{
req = Gem::Requirement.new("~> 3.2.1")
p req.satisfi......ed_by?(Gem::Version.new('3.2.9')) # => true
p req.satisfied_by?(Gem::Version.new('3.3.0')) # => false
//}... -
Gem
:: Requirement # =~(version) -> bool (3150.0) -
引数 version が自身に含まれる全ての必要条件を満たす場合に true を返します。 そうでなければ、false を返します。
...引数 version が自身に含まれる全ての必要条件を満たす場合に true を返します。
そうでなければ、false を返します。
@param version Gem::Version のインスタンスを指定します。
//emlist[][ruby]{
req = Gem::Requirement.new("~> 3.2.1")
p req.satisfi......ed_by?(Gem::Version.new('3.2.9')) # => true
p req.satisfied_by?(Gem::Version.new('3.3.0')) # => false
//}...