Class: RuboCop::Schema::Event
- Inherits:
-
Struct
- Object
- Struct
- RuboCop::Schema::Event
- Defined in:
- lib/rubocop/schema/value_objects.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#type ⇒ Object
Returns the value of attribute type.
Class Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
6 7 8 |
# File 'lib/rubocop/schema/value_objects.rb', line 6 def @message end |
#type ⇒ Object
Returns the value of attribute type
6 7 8 |
# File 'lib/rubocop/schema/value_objects.rb', line 6 def type @type end |
Class Method Details
.dispatch(**kwargs) {|new(**kwargs)| ... } ⇒ Object
7 8 9 |
# File 'lib/rubocop/schema/value_objects.rb', line 7 def self.dispatch(**kwargs) yield new(**kwargs) if block_given? end |