Class: Derketo::Events::Call
- Inherits:
-
Derketo::Event
- Object
- Derketo::Event
- Derketo::Events::Call
- Defined in:
- lib/derketo/events/call.rb
Instance Attribute Summary
Attributes inherited from Derketo::Event
#class_name, #method_id, #next, #parameters, #previous, #return_value, #type
Instance Method Summary collapse
Methods inherited from Derketo::Event
#initialize, #to_h, #to_json, #to_s
Methods included from Helpers
Constructor Details
This class inherits a constructor from Derketo::Event
Instance Method Details
#to_mermaid ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/derketo/events/call.rb', line 5 def to_mermaid if parameters.empty? "\t#{previous.class_name}->>#{class_name}: #{method_id}\n" else "\t#{previous.class_name}->>#{class_name}: #{method_id}(#{clean(parameters.to_s)})\n" end end |