Class: Reflex::BellEvent
- Inherits:
-
Object
- Object
- Reflex::BellEvent
- Defined in:
- lib/reflex/bell_event.rb
Instance Attribute Summary collapse
-
#count ⇒ Object
readonly
Returns the value of attribute count.
Instance Method Summary collapse
-
#initialize(count = 1) ⇒ BellEvent
constructor
A new instance of BellEvent.
Constructor Details
#initialize(count = 1) ⇒ BellEvent
Returns a new instance of BellEvent.
6 7 8 |
# File 'lib/reflex/bell_event.rb', line 6 def initialize(count = 1) @count = count end |
Instance Attribute Details
#count ⇒ Object (readonly)
Returns the value of attribute count.
10 11 12 |
# File 'lib/reflex/bell_event.rb', line 10 def count @count end |