273件ヒット
[1-100件を表示]
(0.057秒)
別のキーワード
種類
- インスタンスメソッド (143)
- 文書 (75)
- 特異メソッド (33)
- ライブラリ (22)
ライブラリ
- ビルトイン (11)
-
net
/ http (33) -
rdoc
/ generator / json _ index (11) -
rubygems
/ indexer (44) -
rubygems
/ source _ index (77)
クラス
-
Gem
:: Indexer (44) -
Gem
:: SourceIndex (77) -
Net
:: HTTPGenericRequest (22) -
Net
:: HTTPResponse (11) -
RDoc
:: Generator :: JsonIndex (11) -
RubyVM
:: InstructionSequence (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - abbreviate (11)
-
add
_ spec (11) -
body
_ stream (11) -
body
_ stream= (11) -
cgi
/ session (11) - compress (11)
-
find
_ name (11) -
http
_ version (11) -
load
_ specification (11) - new (22)
- paranoid (11)
-
remove
_ spec (11) - rss (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) - sanitize (11)
- search (11)
- specification (11)
-
to
_ a (11)
検索結果
先頭5件
-
Gem
:: SourceIndex # specification(full _ name) -> Gem :: Specification | nil (15400.0) -
指定された名前の Gem::Specification オブジェクトを返します。
...指定された名前の Gem::Specification オブジェクトを返します。
@param full_name Gem のフルネームを指定します。... -
Gem
:: SourceIndex . load _ specification(file _ name) -> Gem :: Specification | nil (15400.0) -
与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。
...イル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。
@param file_name ファイル名を指定します。
@raise SignalException gemspec をロードしているときに発生します。
@raise SystemExit gemspec... -
Net
:: HTTPResponse # http _ version -> String (12206.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"
//}... -
cgi
/ session (12006.0) -
CGI のセッション管理を行うライブラリ。
...ession を使用した方がよりわかりやすいでしょう。
セッション情報は Hash ライクなインターフェースです。
セッションはセッション ID とプログラムが記録した
セッション情報から構成されます。
デフォルトでは CGI::Session:......:FileStore が使用され、
記録できるのは文字列のみです。
セッション情報は CGI::Session::FileStore か
CGI::Session::PStore を使用した場合は
サーバのローカルファイルに記録され、
次回のリクエスト時に利用されます。
デフォルト......いために、
ブラウザを終了した時点で消滅します。
=== 使い方 (生成)
require 'cgi/session'
cgi = CGI.new
session = CGI::Session.new(cgi)
CGI::Session.new に CGI オブジェクトを渡します。クライアントから渡された
セッション ID はクッキ... -
RubyVM
:: InstructionSequence # to _ a -> Array (6018.0) -
self の情報を 14 要素の配列にして返します。
...す。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージョン。
: format_type
データ......、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels, ...],
splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報については、vm_core.h を参照。
: catch_table
例外や......オペランドの配列の配列。
//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_size=>0, :local_size=>2, :stack_max=>2},
# "<c... -
Gem
:: SourceIndex # find _ name(gem _ name , version _ requirement = Gem :: Requirement . default) -> Gem :: Specification (3400.0) -
短い名前で正確にマッチする Gem を返します。
...短い名前で正確にマッチする Gem を返します。
@param gem_name Gem の名前を指定します。
@param version_requirement
@see Gem::Requirement... -
Gem
:: SourceIndex . new(specifications = {}) -> Gem :: SourceIndex (3300.0) -
与えられたハッシュを元に自身を初期化します。
...与えられたハッシュを元に自身を初期化します。
@param specifications キーを Gem の名前、値を Gem::Specification のインスタンスとするハッシュを指定します。... -
RDoc
:: Generator :: JsonIndex . new(parent _ generator , options) -> RDoc :: Generator :: JsonIndex (3300.0) -
RDoc::Generator::JsonIndex オブジェクトを初期化します。
...RDoc::Generator::JsonIndex オブジェクトを初期化します。
@param parent_generator 親となるジェネレータオブジェクトを指定します。
RDoc::Generator::JsonIndex#class_dir や
#file_dir を決めるのに使用します......のジェネレータとは異なり、RDoc::Store
オブジェクトではない点に注意してください。
@param options RDoc::Options オブジェクトを指定します。
parent_generator に渡されたものと同じものを指定します。... -
Gem
:: Indexer # abbreviate(spec) -> Gem :: Specification (3200.0) -
ダウンロードを速くするために与えられた Gem::Specification の持つデータを 小さくします。
...ダウンロードを速くするために与えられた Gem::Specification の持つデータを
小さくします。
@param spec Gem::Specification を指定します。... -
Gem
:: Indexer # compress(filename , extension) (3200.0) -
与えられたファイルを圧縮して保存します。
...与えられたファイルを圧縮して保存します。
@param filename 圧縮対象のファイル名を指定します。
@param extension 保存するファイル名の拡張子を指定します。...