るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

検索結果

<< < 1 2 >>

Socket::Constants::TCP_DEFER_ACCEPT -> Integer (116.0)

Don't notify a listening socket until data is ready。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Don't notify a listening socket until data is ready。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see tcp(7linux)...

Socket::IP_ROUTER_ALERT -> Integer (116.0)

Notify transit routers to more closely examine the contents of an IP packet。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Notify transit routers to more closely examine the contents of an IP packet。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(7linux)...

Socket::TCP_DEFER_ACCEPT -> Integer (116.0)

Don't notify a listening socket until data is ready。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Don't notify a listening socket until data is ready。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see tcp(7linux)...

Observable (48.0)

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

...ーンを提供するモジュールです。

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

Observable モジュールを include したクラスは
Observable#changed メソッドにより更新フラグを立て、
Observable#notify_observers が呼び出されると
更新フラ...
...グが立っている場合はオブザーバに通知します
(オブザーバの update メソッドを呼び出す)。
Observable#notify_observers の引数は
そのままオブザーバの update メソッドに渡されます。

=== サンプルコード
require "observer"

class Ticker...
...st_price
changed # notify observers
last_price = price
notify
_observers(Time.now, price)
end
sleep 1
end
end
end

class Price ### A mock class to fetch a stock price (60 - 140).
def self.fetch(symbol)
60...
<< < 1 2 >>