Module: Mooncell::Respond::ClassMethods Private
- Defined in:
- lib/mooncell/respond.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#broadcast(value = true) ⇒ Object
private
Set broadcast.
-
#broadcast? ⇒ TureClass, FalseClass
private
Get broadcast.
Instance Method Details
#broadcast(value = true) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Set broadcast
43 44 45 |
# File 'lib/mooncell/respond.rb', line 43 def broadcast(value = true) @broadcast = value == true end |
#broadcast? ⇒ TureClass, FalseClass
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get broadcast
53 54 55 |
# File 'lib/mooncell/respond.rb', line 53 def broadcast? @broadcast == true end |