Class: ABI::Param
- Inherits:
-
Object
- Object
- ABI::Param
- Defined in:
- lib/abidoc/model.rb
Instance Method Summary collapse
Instance Method Details
#doc ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/abidoc/model.rb', line 4 def doc buf = '' if @internal_type && @internal_type != sig buf << "#{@internal_type} " else buf << "#{sig} " end buf << (@name ? @name : '_') buf end |