Class: SynchronizedModel::Message
- Inherits:
-
Object
- Object
- SynchronizedModel::Message
- Includes:
- Support
- Defined in:
- lib/synchronized_model/message.rb
Instance Attribute Summary collapse
-
#model ⇒ Object
readonly
Returns the value of attribute model.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(model) ⇒ Message
constructor
A new instance of Message.
Methods included from Support
Constructor Details
#initialize(model) ⇒ Message
Returns a new instance of Message.
10 11 12 |
# File 'lib/synchronized_model/message.rb', line 10 def initialize(model) @model = model end |
Instance Attribute Details
#model ⇒ Object (readonly)
Returns the value of attribute model.
8 9 10 |
# File 'lib/synchronized_model/message.rb', line 8 def model @model end |
Instance Method Details
#call ⇒ Object
14 15 16 |
# File 'lib/synchronized_model/message.rb', line 14 def call end |