Class: Grasshopper::Mock::MessageHeard
- Inherits:
-
Struct
- Object
- Struct
- Grasshopper::Mock::MessageHeard
- Defined in:
- lib/grasshopper/mock.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
Returns the value of attribute args.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
Instance Attribute Details
#args ⇒ Object
Returns the value of attribute args
45 46 47 |
# File 'lib/grasshopper/mock.rb', line 45 def args @args end |
#message ⇒ Object
Returns the value of attribute message
45 46 47 |
# File 'lib/grasshopper/mock.rb', line 45 def @message end |
Instance Method Details
#to_s ⇒ Object
46 47 48 |
# File 'lib/grasshopper/mock.rb', line 46 def to_s "#{self.}(#{self.args.join(", ")})" end |