Class: Yes::Core::Aggregate::Dsl::MethodDefiners::CommandGroup::Base
- Inherits:
-
Object
- Object
- Yes::Core::Aggregate::Dsl::MethodDefiners::CommandGroup::Base
- Defined in:
- lib/yes/core/aggregate/dsl/method_definers/command_group/base.rb
Overview
Base class for command_group method definers.
Direct Known Subclasses
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(command_group_data) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(command_group_data) ⇒ Base
Returns a new instance of Base.
11 12 13 14 |
# File 'lib/yes/core/aggregate/dsl/method_definers/command_group/base.rb', line 11 def initialize(command_group_data) @name = command_group_data.name @aggregate_class = command_group_data.aggregate_class end |
Instance Method Details
#call ⇒ Object
16 17 18 |
# File 'lib/yes/core/aggregate/dsl/method_definers/command_group/base.rb', line 16 def call raise NotImplementedError, "#{self.class} must implement #call" end |