るりまサーチ

最速Rubyリファレンスマニュアル検索!
66件ヒット [1-66件を表示] (0.080秒)
トップページ > クエリ:-[x] > クエリ:of[x] > クエリ:Application[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

クラス

モジュール

検索結果

Logger::Application (18036.0)

ユーザ定義のアプリケーションにログ機能を簡単に追加することができます。

...スタンス化して start メソッドを呼び出します。


例:

class FooApp < Application
def initialize(foo_app, application_specific, arguments)
super('FooApp') # Name of the application.
end

def run
...
log(WARN, 'warning', 'my_method1')
......
....error('my_method2') { 'Error!' }
...
end
end

status = FooApp.new(....).start

=== 注意

このクラスは 2.2.0 で gem ライブラリとして切り離されました。2.2.0
以降ではそちらを利用してください。

* https://rubygems.org/gems/logger-application...

OpenSSL::ASN1.#traverse(der) {|depth, off, hlen, len, constructed, tag_class, tag| ...} -> nil (206.0)

DER形式の文字列を解析し、そこに含まれる ASN.1 の値 のプロパティを引数として与えられたブロックを呼びだします。

...ジェクトのインスタンスを解析します。

ブロックに渡される引数は以下の通りです。
* depth: 再帰の深さ
* off: 対象の値をエンコードした文字列の der の先頭からのオフセット
* hlen: エンコードされたデータのヘッダの...
...の ASN.1 値が Constructive なら真
* tag_class: タグクラスを表す Symbol オブジェクト
(:UNIVERSAL, :CONTEXT_SPECIFIC, :APPLICATION, :PRIVATE のいずれか)
* tag: タグ番号

@param der DER形式の文字列
@raise OpenSSL::ASN1::ASN1Error 解析に失敗した場合に...

WIN32OLE.ole_show_help(obj, helpcontext = nil) -> () (112.0)

WIN32OLEオブジェクトのヘルプファイルを表示します。

...(no helpfile of `オブジェクト名') や、ヘルプファイル
がインストールされていない場合 (failed to open
help file `ファイル名') に通知します。

excel = WIN32OLE.new('Excel.Application')
typeobj = excel.o...

NEWS for Ruby 2.2.0 (90.0)

NEWS for Ruby 2.2.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...は参照情報があるため短いです。
十分な情報と共に書かれた全ての変更のリストは ChangeLog ファイルか bugs.ruby-lang.org の issue を参照してください。

== 2.1.0 以降の変更

=== 言語仕様の変更

* nil/true/false
* nil/true/false はフ...
...りました。
* ArgumentError is no longer raised when lambda Proc is passed as a
block, and the number of yielded arguments does not match the formal
arguments of the lambda, if just an array is yielded and its length
matches.

* Process
* Process.spawn のようなプ...
...でした。

* Logger
* Logger::Application は logger-application という gem に切り出しました。メンテナンスしていないコードでした。

* ObjectSpace (after requiring "objspace")
* ObjectSpace.#memsize_of(obj) は sizeof(RVALUE) を含むようになりまし...

rubygems/commands/lock_command (78.0)

指定された特定のバージョンの Gem パッケージに依存する Gem を使用するために 必要な Kernel#gem メソッドの呼び出し方法を文字列で出力します。

...m lock GEMNAME-VERSION [GEMNAME-VERSION ...] [options]
Options:
-
s, --[no-]strict 依存関係を満たせない場合に失敗します
Common Options:
-
h, --help このコマンドのヘルプを表示します
-
V, --[no-]verbose...
...will generate a list of +gem+ statements that will lock
down
the versions for the gem given in the command line. It will specify exact
versions in the requirements list to ensure that the gems loaded will always
be consistent. A full recursive search of all effected gems w...
...load lockdown.rb from your application to ensure that the current
versions are loaded. Make sure that lockdown.rb is loaded *before* any
other require statements.

Notice that rails 1.0.0 only requires that rake 0.6.2 or better be used.
Rake-0.7.0.1 is the most recent...

絞り込み条件を変える

WIN32OLE_TYPELIB (48.0)

OLEオートメーションサーバの型情報ライブラリ(TypeLib)を操作するための クラスです。

...ジェクトを生成します。

=== サンプルコード

require 'win32ole'

tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 14.0 Object Library')
puts "Guid of Excel typelib = #{tlib.guid}"
puts "version = #{tlib.major_version}.#{tlib.minor_version}"
puts "creatable classes:"
t...
...{cls.progid}"
end

上記を実行すると以下の出力を得ます。

Guid of Excel typelib = {00020813-0000-0000-C000-000000000046}
version = 1.7
creatable classes:
Application
: PROGID=Excel.Application.14
Chart: PROGID=Excel.Chart.8
Worksheet: PROGID=Excel.Sheet.8

ここでは...

OpenSSL::OCSP (24.0)

OCSP(Online Certificate Status Protocol)を取り扱うための モジュールです。OCSP は 2560 で定義されています。

...req.add_nonce

http = Net::HTTP.new('ocsp.example.com', 80)
httpres = http.post("/", req.to_der, 'content-type' => 'application/ocsp-request')
raise "HTTP error" if !httpres.kind_of?(Net::HTTPOK)
res = OpenSSL::OCSP::Response.new(httpres.body)

puts "Response status: #{res.status_strin...
...g}"
exit if res.status != OpenSSL::OCSP::RESPONSE_STATUS_SUCCESSFUL

basic_resp = res.basic
raise "nonce error" unless [-1, 1].include?(req.check_nonce(basic_resp))
unless basic_resp.verify([], store)
puts "verify response fail"
end
rescid, status, reason, revtime, thisupd, nextupd,...