Class: Dub::Generator

Inherits:
Object
  • Object
show all
Defined in:
lib/dub/generator.rb

Instance Method Summary collapse

Instance Method Details

#comment(func) ⇒ Object


6
7
8
# File 'lib/dub/generator.rb', line 6

def comment(func)
  "/** #{func.original_signature}\n * #{func.source}\n */"
end