るりまサーチ

最速Rubyリファレンスマニュアル検索!
104件ヒット [1-100件を表示] (0.014秒)
トップページ > クエリ:changed[x]

別のキーワード

  1. observer changed
  2. observer changed?
  3. observable changed
  4. observable changed?
  5. changed observer

ライブラリ

クラス

モジュール

検索結果

<< 1 2 > >>

Observable#changed(state = true) -> bool (18101.0)

更新フラグを立てます。

更新フラグを立てます。

更新フラグを指定された内容へ変更し、変更後の更新フラグの状態を返します。
明示的に引数を指定して、更新フラグを初期化することも出来ます。

@param state 更新フラグを立てる場合はtrueを、初期化する場合はfalseを指定します。

Observable#changed? -> bool (6101.0)

更新フラグの状態を返します。

更新フラグの状態を返します。

OpenSSL::OCSP::REVOKED_STATUS_AFFILIATIONCHANGED -> Integer (6100.0)

OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の記載内容が変更されたことを意味します。

OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の記載内容が変更されたことを意味します。

詳しくは 3280 や X.509 を参照してください。

JSON::State#buffer_initial_length=(length) (16.0)

This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.

...This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed....

NEWS for Ruby 3.0.0 (12.0)

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

...ttern matching is redesigned. [EXPERIMENTAL]
* `=>` is added. It can be used like a rightward assignment.
17260
* `in` is changed to return `true` or `false`. 17371

//emlist{
0 => a
p a #=> 0

{b: 0, c: 1} => {b:}
p b #=> 0
//}

//emlist{
# version 3.0
0 in 1 #=> false

# v...
...values. 15822
* Windows: Read ENV names and values as UTF-8 encoded Strings 12650
* Encoding
* Added new encoding IBM720. 16233
* Changed default for Encoding.default_external to UTF-8 on Windows 16604
* Fiber
* Fiber.new(blocking: true/false) allows you to create non-blocking...

絞り込み条件を変える

Observable (12.0)

Observer パターンを提供するモジュールです。

...ールです。

Mix-in により Observer パターンを提供します。

Observable モジュールを include したクラスは
Observable#changed メソッドにより更新フラグを立て、
Observable#notify_observers が呼び出されると
更新フラグが立っている場合は...
...last_price = nil
loop do
price = Price.fetch(@symbol)
print "Current price: #{price}\n"
if price != last_price
changed
# notify observers
last_price = price
notify_observers(Time.now, price)
end
sleep 1...

Module#public() -> nil (6.0)

メソッドを public に設定します。

...def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)

def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}...

Module#public(*name) -> Array (6.0)

メソッドを public に設定します。

...def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)

def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}...

Module#public(*name) -> self (6.0)

メソッドを public に設定します。

...def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)

def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}...

Module#public(name) -> String | Symbol (6.0)

メソッドを public に設定します。

...def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)

def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}...

絞り込み条件を変える

Module#public(names) -> Array (6.0)

メソッドを public に設定します。

...def foo() 1 end
p foo # => 1
# the toplevel default is private
p self.foo # => private method `foo' called for #<Object:0x401c83b0> (NoMethodError)

def bar() 2 end
public :bar # visibility changed (all access allowed)
p bar # => 2
p self.bar # => 2
//}...

NEWS for Ruby 2.0.0 (6.0)

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

...of records as BEAST mitigation via
OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS.
* The default options for OpenSSL::SSL::SSLContext have changed to
OpenSSL::SSL::OP_ALL & ~OpenSSL::SSL::OP_DONT_INSERT_EMPTY_FRAGMENTS
instead of OpenSSL::SSL::OP_ALL only. This enables the counte...

ruby 1.6 feature (6.0)

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

...K
SO_BINDTODEVICE
SO_ATTACH_FILTER
SO_DETACH_FILTER
SO_PEERNAME
SO_TIMESTAMP

: ((<require|組み込み関数>)) / $LOAD_PATH

Changed
to use a new algorithm to locate a library.

Now when requiring "foo", the following directories are searched for
the library in the order...
<< 1 2 > >>