class Support::Events::DomainEvent

Attributes

args[R]
command[R]
name[R]
root[R]
type[R]

Public Class Methods

new(command) click to toggle source
# File lib/hecks/domain/templates/lib/support/events/domain_event.rb, line 5
def initialize(command)
  @command = command
  @root = @command.root
  @type = @command.class
  @name = @type.to_s.underscore
  @args = command.args
end