Class: DangoClientFramework::ClientNoticeShared
- Defined in:
- lib/dango/client_framework.rb
Overview
通知共有メモリ情報の書き換えクラス
Instance Method Summary collapse
-
#[]=(key, value) ⇒ Object
キーに対する書き込み(読み込みはないぞ).
-
#initialize(parent) ⇒ ClientNoticeShared
constructor
A new instance of ClientNoticeShared.
Constructor Details
#initialize(parent) ⇒ ClientNoticeShared
Returns a new instance of ClientNoticeShared.
328 329 330 |
# File 'lib/dango/client_framework.rb', line 328 def initialize(parent) @parent = parent end |
Instance Method Details
#[]=(key, value) ⇒ Object
キーに対する書き込み(読み込みはないぞ)
332 333 334 335 336 |
# File 'lib/dango/client_framework.rb', line 332 def []=(key, value) # キーに対する書き込み(読み込みはないぞ) action_name = "action_notice_shared_#{key}" send_obj = {:data => value} @parent.send_action(action_name, send_obj) end |