4件ヒット
[1-4件を表示]
(0.027秒)
別のキーワード
種類
- 文書 (2)
- インスタンスメソッド (1)
- ライブラリ (1)
ライブラリ
- ビルトイン (1)
クラス
- Exception (1)
キーワード
-
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 6 . 0 (1) -
backtrace
_ locations (1) -
net
/ http (1)
検索結果
先頭4件
-
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (81790.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
バックトレース情報を返します。Exception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.new(2000, month, -1).day == 31
raise "#{month} is not long month"
end
... -
NEWS for Ruby 2
. 6 . 0 (163.0) -
NEWS for Ruby 2.6.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...はソースコードからラインカバレッジ用のスタブを
作成するシンプルなヘルパー関数です。
* CSV
* 3.0.2 に更新されました。
特に書き出しの高速化を含んでいます。
書き出しは約2倍高速化しています。......ser_class オプションが利用可能です。
* RubyGems
* RubyGems 3.0.1 に更新されました。
* https://blog.rubygems.org/2018/12/19/3.0.0-released.html
* https://blog.rubygems.org/2018/12/23/3.0.1-released.html
* Set
* 別名
* Set#filter! が Set#select! の... -
NEWS for Ruby 2
. 5 . 0 (91.0) -
NEWS for Ruby 2.5.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...はext/openssl/History.mdの"Version 2.1.0"セクションにあります。
* pathname
* Pathname#glob を追加 7360
* psych
* Psych 3.0.2 に更新しました
* Convert fallback option to a keyword argument
https://github.com/ruby/psych/pull/342
* Add :symbolize... -
net
/ http (37.0) -
汎用データ転送プロトコル HTTP を扱うライブラリです。 実装は 2616 に基きます。
汎用データ転送プロトコル HTTP を扱うライブラリです。
実装は 2616 に基きます。
=== 使用例
==== ウェブサーバからドキュメントを得る (GET)
//emlist[例1: GET して 表示するだけ][ruby]{
require 'net/http'
print Net::HTTP.get('www.example.com', '/index.html')
//}
//emlist[例2: URI を使う][ruby]{
require 'net/http'
require 'uri'
print Net::HTTP.get(URI.parse('http://w...