るりまサーチ

最速Rubyリファレンスマニュアル検索!
233件ヒット [1-100件を表示] (0.014秒)

別のキーワード

  1. erb result
  2. _builtin result
  3. coverage result
  4. coverage peek_result
  5. erb result_with_hash

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 > >>

Win32::Registry::API.#check(result) (15202.0)

@todo

@todo

FileUtils#sh(*cmd) {|result, status| ... } (107.0)

与えられたコマンドを実行します。

...cmd 引数の解釈に関しては Kernel.#exec を参照してください。


例:
sh %{ls -ltr}

sh 'ls', 'file with spaces'

# check exit status after command runs
sh %{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"...

Object#===(other) -> bool (36.0)

case 式で使用されるメソッドです。d:spec/control#case も参照してください。

...0..2).===(12), (3..6).===(12), ... が実行される
result
=
case age
when 0 .. 2
"baby"
when 3 .. 6
"little child"
when 7 .. 12
"child"
when 13 .. 18
"youth"
else
"adult"
end

puts result #=> "child"

def check arg
case arg
when /ruby(?!\s*on\s*rails)/i
"...
...n String
"Instance of String class. But don't hit."
else
"unknown"
end
end

puts check([]) #=> unknown
puts check("mash-up in Ruby on Rails") #=> instance of String class. But not hit...
puts check("<Ruby's world>") #=> hit! <Ruby's world>
//}

@see Object#==, Range#===, Module#===, Rege...

NEWS for Ruby 3.0.0 (24.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...
...nVariable#wait may now invoke the `block`/`unblock` scheduler hooks in a non-blocking context. 16786
* Dir
* Dir.glob and Dir.[] now sort the results by default, and accept the `sort:` keyword option. 8709
* ENV
* ENV.except has been added, which returns a hash excluding the given keys...
...he first argument is a URI. 16686
* Net::SMTP
* Add SNI support.
* Net::SMTP.start arguments are keyword arguments.
* TLS should not check the host name by default.
* OpenStruct
* Initialization is no longer lazy. 12136
* Builtin methods can now be overridden safely. 15409...

OpenSSL::SSL::SSLSocket (12.0)

ソケットをラップして SSL での認証と暗号通信を実現するためのクラスです。

...de OpenSSL

soc = TCPSocket.new('www.example.com', 443)
ssl = SSL::SSLSocket.new(soc)
ssl.connect
ssl.post_connection_check('www.example.com')
raise "verification error" if ssl.verify_result != OpenSSL::X509::V_OK
ssl.write('hoge')
print ssl.peer_cert.to_text
ssl.close
soc.close...

絞り込み条件を変える

Win32::Registry::API.#CloseKey(hkey) (2.0)

@todo

@todo

Win32::Registry::API.#CreateKey(hkey, name, opt, desired) (2.0)

@todo

@todo

Win32::Registry::API.#DeleteKey(hkey, name) (2.0)

@todo

@todo

Win32::Registry::API.#DeleteValue(hkey, name) (2.0)

@todo

@todo
<< 1 2 3 > >>