class RbGCCXML::Constructor

Represents a <Constructor> node.

Constructors act like functions except they don’t have a return value

Public Instance Methods

return_type() click to toggle source

Disabled: Constructors do not have a return_type.

# File lib/rbgccxml/nodes/constructor.rb, line 10
def return_type
  raise "There is no return_type of a constructor"
end