Class: EchoMsg
- Inherits:
-
Object
- Object
- EchoMsg
- Defined in:
- src/ruby/spec/support/services.rb
Overview
A test message
Instance Attribute Summary collapse
-
#msg ⇒ Object
readonly
Returns the value of attribute msg.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(msg: '') ⇒ EchoMsg
constructor
A new instance of EchoMsg.
Constructor Details
#initialize(msg: '') ⇒ EchoMsg
Returns a new instance of EchoMsg.
22 23 24 |
# File 'src/ruby/spec/support/services.rb', line 22 def initialize(msg: '') @msg = msg end |
Instance Attribute Details
#msg ⇒ Object (readonly)
Returns the value of attribute msg.
20 21 22 |
# File 'src/ruby/spec/support/services.rb', line 20 def msg @msg end |