Class: Cucumber::Messages::ComprehensiveMessage
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-messages-18.0.0/spec/cucumber/messages/message/dummy_messages.rb
Instance Attribute Summary collapse
-
#is_enum ⇒ Object
readonly
Returns the value of attribute is_enum.
-
#message_array ⇒ Object
readonly
Returns the value of attribute message_array.
-
#simple_message ⇒ Object
readonly
Returns the value of attribute simple_message.
Instance Method Summary collapse
-
#initialize(simple_message: SimpleMessage.new, message_array: [SimpleMessage.new, SimpleMessage.new], is_enum: EnumMessage::ENUM) ⇒ ComprehensiveMessage
constructor
A new instance of ComprehensiveMessage.
Methods included from Message::Utils
Methods included from Message::Serialization
Methods included from Message::Deserialization
Constructor Details
#initialize(simple_message: SimpleMessage.new, message_array: [SimpleMessage.new, SimpleMessage.new], is_enum: EnumMessage::ENUM) ⇒ ComprehensiveMessage
Returns a new instance of ComprehensiveMessage.
22 23 24 25 26 27 28 29 30 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-messages-18.0.0/spec/cucumber/messages/message/dummy_messages.rb', line 22 def initialize( simple_message: SimpleMessage.new, message_array: [SimpleMessage.new, SimpleMessage.new], is_enum: EnumMessage::ENUM ) @simple_message = @message_array = @is_enum = is_enum end |
Instance Attribute Details
#is_enum ⇒ Object (readonly)
Returns the value of attribute is_enum.
20 21 22 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-messages-18.0.0/spec/cucumber/messages/message/dummy_messages.rb', line 20 def is_enum @is_enum end |
#message_array ⇒ Object (readonly)
Returns the value of attribute message_array.
20 21 22 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-messages-18.0.0/spec/cucumber/messages/message/dummy_messages.rb', line 20 def @message_array end |
#simple_message ⇒ Object (readonly)
Returns the value of attribute simple_message.
20 21 22 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/cucumber-messages-18.0.0/spec/cucumber/messages/message/dummy_messages.rb', line 20 def @simple_message end |