Class: Cucumber::Messages::SimpleMessage
- 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_array ⇒ Object
readonly
Returns the value of attribute is_array.
-
#is_nil ⇒ Object
readonly
Returns the value of attribute is_nil.
-
#is_number ⇒ Object
readonly
Returns the value of attribute is_number.
-
#is_string ⇒ Object
readonly
Returns the value of attribute is_string.
Instance Method Summary collapse
-
#initialize(is_nil: nil, is_string: '', is_array: [], is_number: 0) ⇒ SimpleMessage
constructor
A new instance of SimpleMessage.
Methods included from Message::Utils
Methods included from Message::Serialization
Methods included from Message::Deserialization
Constructor Details
#initialize(is_nil: nil, is_string: '', is_array: [], is_number: 0) ⇒ SimpleMessage
Returns a new instance of SimpleMessage.
7 8 9 10 11 12 |
# 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 7 def initialize(is_nil: nil, is_string: '', is_array: [], is_number: 0) @is_nil = is_nil @is_string = is_string @is_array = is_array @is_number = is_number end |
Instance Attribute Details
#is_array ⇒ Object (readonly)
Returns the value of attribute is_array.
5 6 7 |
# 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 5 def is_array @is_array end |
#is_nil ⇒ Object (readonly)
Returns the value of attribute is_nil.
5 6 7 |
# 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 5 def is_nil @is_nil end |
#is_number ⇒ Object (readonly)
Returns the value of attribute is_number.
5 6 7 |
# 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 5 def is_number @is_number end |
#is_string ⇒ Object (readonly)
Returns the value of attribute is_string.
5 6 7 |
# 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 5 def is_string @is_string end |