Class: ABI::Event
- Inherits:
-
Object
- Object
- ABI::Event
- Defined in:
- lib/abidoc/model.rb
Instance Method Summary collapse
Instance Method Details
#doc ⇒ Object
53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/abidoc/model.rb', line 53 def doc ## note: text with markdown formatting buf = "event **#{@name}**" if @inputs.empty? buf << "()" else params = @inputs.map {|param| param.doc } buf << "(#{params.join(', ')})" end buf end |