るりまサーチ

最速Rubyリファレンスマニュアル検索!
130件ヒット [101-130件を表示] (0.032秒)
トップページ > クエリ:Integer[x] > クエリ:UNKNOWN[x]

別のキーワード

  1. openssl integer
  2. asn1 integer
  3. _builtin integer
  4. integer upto
  5. integer downto

検索結果

<< < 1 2 >>

NEWS for Ruby 3.1.0 (36.0)

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

...をミリ秒で返します。 10917
* GC.total_time が計測された時間をナノ秒で返します。 10917

* Integer
* 新規メソッド
* Integer.try_convert が追加されました。 15211

* Kernel
* 変更されたメソッド
* Kernel#load が第2引数...
...nvalid value for Integer(): "+07:30" (ArgumentError)
//}

* Ruby 3.0 以前では、予期しない結果の 2021-12-25 07:00:00 が返されました。 2021-12-25 07:30:00 や 2021-12-25 00:00:00 +07:30 でもありません。

* Time#strftime がRFC 3339 UTCのunknown offset local ti...
...s://github.com/ruby/rbs/pull/844

//emlist{
# `T` must be compatible with the `_Output` interface.
# `PrettyPrint[String]` is ok, but `PrettyPrint[Integer]` is a type error.
class PrettyPrint[T < _Output]
interface _Output
def <<: (String) -> void
end

attr_reader output: T

def initiali...

ruby 1.6 feature (30.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...from -:2
ruby 1.6.7 (2002-07-30) [i586-linux]

: 2002-06-03 sprintf()

"%d" で引数を整数にするときに、((<組み込み関数/Integer>)) と同じ規則を
使用するようになりました。

p sprintf("%d", nil)

=> -:1:in `sprintf': no implicit conversio...
...:in `remove_instance_variable': instance variable @foo not defined (NameError)
ruby 1.6.7 (2002-04-10) [i586-linux]

: 2002-04-04: Integer#((<Integer/step>))

第二引数が 1 よりも小さい場合に 0 を指定したと見なされエラーになって
いました。

1.ste...
...として英数字を指定
できなくなりました。

p %q1..1

=> ruby 1.6.5 (2001-10-10) [i586-linux]
".."
=> -:1: unknown type of %string
p %q1..1
^
ruby 1.6.5 (2001-10-15) [i586-linux]

: String#=~

String#=~ の呼出で両辺と...

WIN32OLE_VARIABLE#ole_type_detail -> [String] (18.0)

変数の型と属性を取得します。

...[#{v.ole_type_detail.join(', ')}] #{v.name}"
end

出力結果

Unknown
Type 31 [] pwcsName # => VT_LPWSTR はWIN32OLE::VARIANTで未定義なので変換できない
UI4 [UI4] type
_ULARGE_INTEGER [USERDEFINED, _ULARGE_INTEGER] cbSize
_FILETIME [USERDEFINED, _FILETIME] mtime
_FILETIME [US...

NEWS for Ruby 2.6.0 (12.0)

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

...が Object#yield_self の別名として追加されました。 14594
* 新規オプション
* Kernel.#Complex, Kernel.#Float, Kernel.#Integer,
Kernel.#Rational にエラー処理方法を指定する :exception オプションが
追加されました。 12732
* Ke...
...プション
* RSS::Parser.parse が Hash としてオプションを受け付けるようになりました。
:validate, :ignore_unknown_element, :parser_class オプションが利用可能です。

* RubyGems
* RubyGems 3.0.1 に更新されました。
* https://blog.ru...
<< < 1 2 >>