mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
12 lines
333 B
Ruby
12 lines
333 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Just an example, to be replaced with an actual implementation
|
||
|
module MyModuleStatusConsequences
|
||
|
class ChangeActivity < MyModuleStatusConsequence
|
||
|
def call(my_module)
|
||
|
# Create new activity here
|
||
|
puts "State changed to #{my_module_status.name}} for #{my_module.name}"
|
||
|
end
|
||
|
end
|
||
|
end
|