Class: Reflex::BellEvent

Inherits:
Object
  • Object
show all
Defined in:
lib/reflex/bell_event.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#countObject (readonly)

Returns the value of attribute count.



10
11
12
# File 'lib/reflex/bell_event.rb', line 10

def count
  @count
end