Class: Canis::ChangeEvent

Inherits:
Object show all
Defined in:
lib/canis/core/include/rchangeevent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source) ⇒ ChangeEvent

Returns a new instance of ChangeEvent.



17
18
19
# File 'lib/canis/core/include/rchangeevent.rb', line 17

def initialize source
  @source = source
end

Instance Attribute Details

#sourceObject

Returns the value of attribute source.



16
17
18
# File 'lib/canis/core/include/rchangeevent.rb', line 16

def source
  @source
end

Instance Method Details

#inspectObject



23
24
25
# File 'lib/canis/core/include/rchangeevent.rb', line 23

def inspect
  "ChangeEvent #{@source}"
end

#to_sObject



20
21
22
# File 'lib/canis/core/include/rchangeevent.rb', line 20

def to_s
  inspect
end