Class: Comp

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



4
5
6
# File 'lib/testEvent.rb', line 4

def message
  @message
end

Instance Method Details

#triggerEvent(message) ⇒ Object



8
9
10
# File 'lib/testEvent.rb', line 8

def triggerEvent(message)
	send_my_message(message)
end