Class: Yes::Core::Commands::Group::Attributes
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Yes::Core::Commands::Group::Attributes
- Defined in:
- lib/yes/core/commands/group.rb
Overview
Meta attributes for the Group, compatible with the Command class.
Defined Under Namespace
Classes: Invalid
Class Method Summary collapse
Class Method Details
.new(attributes) ⇒ Object
24 25 26 27 28 |
# File 'lib/yes/core/commands/group.rb', line 24 def self.new(attributes) super rescue Dry::Struct::Error => e raise Invalid.new(extra: attributes), e end |