Class: AudioStream::AudioNotification
- Inherits:
-
Object
- Object
- AudioStream::AudioNotification
- Defined in:
- lib/audio_stream/audio_notification.rb
Constant Summary collapse
- STAT_NEXT =
:next
- STAT_COMPLETE =
:complete
Instance Attribute Summary collapse
-
#caller_obj ⇒ Object
readonly
Returns the value of attribute caller_obj.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#stat ⇒ Object
readonly
Returns the value of attribute stat.
Instance Method Summary collapse
-
#initialize(stat, input, caller_obj) ⇒ AudioNotification
constructor
A new instance of AudioNotification.
Constructor Details
#initialize(stat, input, caller_obj) ⇒ AudioNotification
Returns a new instance of AudioNotification.
11 12 13 14 15 |
# File 'lib/audio_stream/audio_notification.rb', line 11 def initialize(stat, input, caller_obj) @stat = stat @input = input @caller_obj = caller_obj end |
Instance Attribute Details
#caller_obj ⇒ Object (readonly)
Returns the value of attribute caller_obj.
9 10 11 |
# File 'lib/audio_stream/audio_notification.rb', line 9 def caller_obj @caller_obj end |
#input ⇒ Object (readonly)
Returns the value of attribute input.
8 9 10 |
# File 'lib/audio_stream/audio_notification.rb', line 8 def input @input end |
#stat ⇒ Object (readonly)
Returns the value of attribute stat.
7 8 9 |
# File 'lib/audio_stream/audio_notification.rb', line 7 def stat @stat end |