Method: CSquare::Function#declaration

Defined in:
lib/csquare/function.rb

#declarationObject

Return the function declaration for the header file



15
16
17
18
# File 'lib/csquare/function.rb', line 15

def declaration
  t = @entity.type
  "#{t.type.to_s} #{name}(#{t.params.to_s});"
end