るりまサーチ

最速Rubyリファレンスマニュアル検索!
11171件ヒット [11101-11171件を表示] (0.083秒)
トップページ > クエリ:g[x] > クエリ:gem[x]

別のキーワード

  1. openssl g
  2. openssl g=
  3. dh g
  4. dh g=
  5. dsa g=

ライブラリ

クラス

キーワード

検索結果

<< < ... 110 111 112 >>

Gem::StreamUI::VerboseProgressReporter#done -> nil (6000.0)

終了メッセージを表示します。

終了メッセージを表示します。

Gem::SystemExitException (6000.0)

何らかの理由でコマンドを実行出来ない場合に使用する例外です。

何らかの理由でコマンドを実行出来ない場合に使用する例外です。

Gem::UserInteraction (6000.0)

デフォルト UI にアクセスしやすくするためのモジュールです。

デフォルト UI にアクセスしやすくするためのモジュールです。

このモジュール経由で呼び出されたメソッドは全て UI の実装クラスへ処理を委譲します。

Gem::Validator::ErrorData (6000.0)

@todo

@todo

エラー情報を記録するための構造体です。
以下の属性を持っています。

* path
* problem

String#crypt(salt) -> String (3106.0)

self と salt から暗号化された文字列を生成して返します。 salt には英数字、ドット (「.」)、スラッシュ (「/」) から構成される、 2 バイト以上の文字列を指定します。

...
他にも 29297 などがあります。

注意:

* Ruby 2.6 から非推奨になったため、引き続き必要な場合は
string-crypt gem の使用を検討してください。
* crypt の処理は crypt(3) の実装に依存しています。
従って、crypt で処理さ...
...(64),rand(64)].pack("C*").tr("\x00-\x3f","A-Za-z0-9./")
passwd.crypt(salt)

# UNIX のログイン認証
require 'etc'

def valid_login?(user, password)
ent = Etc.getpwnam(user)
password.crypt(ent.passwd) == ent.passwd
end

p valid_login?("taro", "password") # => 真偽値が得られる
//}...

絞り込み条件を変える

Logger::Application (3006.0)

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

..., arguments)
super('FooApp') # Name of the application.
end

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

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

=== 注意

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

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

Kernel#multitask(args) { ... } -> Rake::MultiTask (106.0)

事前タスクを並列実行するタスクを定義します。

...事前タスクを並列実行するタスクを定義します。

与えられた事前タスクを実行する順序は不定です。

例:
multitask :deploy => [:deploy_gem, :deploy_rdoc]...

NEWS for Ruby 3.0.0 (12.0)

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

...* Keyword arguments are now separated from positional arguments.
Code that resulted in deprecation warnings in Ruby 2.7 will now
result in ArgumentError or different behavior. 14183
* Procs accepting a single rest argument and keywords are no longer
subject to autosplatting. This now...
...accepting a single rest argument and no keywords.
16166

//emlist[][ruby]{
pr = proc{|*a, **kw| [a, kw]}

pr.call([1])
# 2.7 => [[1], {}]
# 3.0 => [[[1]], {}]

pr.call([1, {a: 1}])
# 2.7 => [[1], {:a=>1}] # and deprecation warning
# 3.0 => a=>1}, {}]
//}

* Arguments forwarding (`...`) now...
...ally discouraged. Read OpenStruct@Caveats section.
* Pathname
* Ractor compatible.
* Psych
* Update to Psych 3.3.0
* This version is Ractor compatible.
* Reline
* Update to Reline 0.1.5
* RubyGems
* Update to RubyGems 3.2.3
* StringIO
* Update to StringIO 3.0.0...
<< < ... 110 111 112 >>