るりまサーチ

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

別のキーワード

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

種類

ライブラリ

モジュール

キーワード

検索結果

<< < ... 14 15 16 >>

Etc::SC_XOPEN_STREAMS -> Integer (231.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_XOPEN_UNIX -> Integer (231.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_XOPEN_UUCP -> Integer (231.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

Etc::SC_XOPEN_VERSION -> Integer (231.0)

Etc.#sysconf の引数に指定します。

Etc.#sysconf の引数に指定します。

詳細は sysconf(3) を参照してください。

NEWS for Ruby 2.5.0 (72.0)

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

...う。 13405

* Integer
* Integer#round, Integer#floor, Integer#ceil, Integer#truncate は常に Integer を返すようになりました
13420
* Integer#pow を追加 12508 11003
* Integer#allbits?, Integer#anybits?, Integer#nobits? を追加 12753
* Integer.sqrt を追加...
...* Method#=== は Proc#===と同じようにMethod#callを呼び出します 14142

* Module
* Module#attr, Module#attr_accessor, Module#attr_reader, Module#attr_writer はパブリックメソッドになりました 14132
* Module#define_method, Module#alias_method, Module#undef_method, M...

絞り込み条件を変える

NEWS for Ruby 3.0.0 (42.0)

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

...oplevel "private" and "public" methods now accept single array argument with a list of method names. 17314
* Module#attr_accessor, Module#attr_reader, Module#attr_writer and Module#attr methods now return an array of defined method names as symbols. 17314
* Module#alias_method now returns th...
...redirected to a closed pipe, no broken pipe error message will be shown now. 14413
* `TRUE`/`FALSE`/`NIL` constants are no longer defined.
* Integer#zero? overrides Numeric#zero? for optimization. 16961
* Enumerable#grep and Enumerable#grep_v when passed a Regexp and no block no longer modi...
...s does not allocate a hash.
* `super` is optimized when the same type of method is called in the previous call if it's not refinements or an attr reader or writer.

=== JIT

* Performance improvements of JIT-ed code
* Microarchitectural optimizations
* Native functions shared by mult...

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引数...
...り厳密に整数に変換されるようになりました。

//emlist[Time.new][ruby]{
Time.new(2021, 12, 25, "+07:30")
#=> invalid value for Integer(): "+07:30" (ArgumentError)
//}

* Ruby 3.0 以前では、予期しない結果の 2021-12-25 07:00:00 が返されました。 2021-12-25...
...mpatible 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 initialize: (T output) -> void
end
//}

* ジェネリックな型...

ruby 1.9 feature (36.0)

ruby 1.9 feature ruby version 1.9.0 は開発版です。 以下にあげる機能は将来削除されたり互換性のない仕様変更がなされるかもしれません。 1.9.1 以降は安定版です。 バグ修正がメインになります。

...invoke_method
: invoke_functional_method

削除

=== 2006-07-21

: Module#attr

オプショナル引数の assignable がなくなり、attr_reader 相当になりました
[RCR#331]

=== 2006-06-22

: Module#name

無名モジュールに対しては nil を返すようになりました...
...の文字列に対し、その文字のコードを返すメソッドが追加されました
: string[integer] が 1文字の String を返すようになりました
: string.slice(integer) が 1文字の String を返すようになりました
: ?c が 1文字の String を返すように...
...プションの追加
((<ruby-dev:28417>))

=== 2006-02-15

: instance_eval

((<ruby-core:7365>))

=== 2006-02-03

: Integer#upto [compat]
: Integer#downto [compat]
: Integer#doitems [compat]

ブロックがなければ enumerator を返す

: Enumerable#group_by [new]
: Enumerable#first...

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...
...もエラーになりませんでした。
((<ruby-dev:13748>))

class C
def initialize
@message = 'ok'
end
attr_reader :message
end
puts C.new.message(1,2,3)

=> ruby 1.6.4 (2001-06-04) [i586-linux]
ok
=> ruby 1.6.4 (2001-08-06) [i586-linux]...

ruby 1.8.2 feature (24.0)

ruby 1.8.2 feature ruby 1.8.2 での ruby 1.8.1 からの変更点です。

...ruby-1.8.1 -e 'p [nil].pack("L")'
"\000\000\000\000"

$ ruby-1.8.2 -e 'p [nil].pack("L")'
-e:1:in `pack': cannot convert nil into Integer (TypeError)
from -e:1

$ ruby-1.8.2 -e 'p [nil].pack("P")'
"\000\000\000\000"

=== 2004-10-27
: CGI [lib] [bug]
無限ル...
...ls.mv [lib] [compat]
mv が :force オプションを受け付けるようになりました。

=== 2004-08-07
: Zlib::GzipReader#read(0) [lib] [compat]
Zlib::GzipReader#read(0) が nil ではなく "" を返すようになりました。

=== 2004-07-28
: CGI::CGI_PARAMS [lib] [obsolete]
: CGI...
...04-05-16

: DBM.open [lib] [compat]
: DBM::READER [lib] [new]
: DBM::WRITER [lib] [new]
: DBM::WRCREAT [lib] [new]
: DBM::NEWDB [lib] [new]

DBM.open に第3引数を追加し、DBM::READER,
DBM::WRITER, DBM::WRCREAT, DBM::NEWDB を指定で...

絞り込み条件を変える

<< < ... 14 15 16 >>