Sha256: 64e7a2dec853f6003e5e67a4c67d24ba000a3961da3494e950621c43c2614580

Contents?: true

Size: 319 Bytes

Versions: 8

Compression:

Stored size: 319 Bytes

Contents

module RbGCCXML

  # Represents a <Constructor> node.
  #
  # Constructors act like functions except they don't have
  # a return value
  class Constructor < Function

    # Disabled: Constructors do not have a return_type.
    def return_type
      raise "There is no return_type of a constructor"
    end

  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rbgccxml-1.1.0 lib/rbgccxml/nodes/constructor.rb
rbgccxml-1.0.4 lib/rbgccxml/nodes/constructor.rb
rbgccxml-1.0.3 lib/rbgccxml/nodes/constructor.rb
rbgccxml-1.0.2 lib/rbgccxml/nodes/constructor.rb
rbgccxml-1.0.1 lib/rbgccxml/nodes/constructor.rb
rbgccxml-1.0 lib/rbgccxml/nodes/constructor.rb
rbgccxml-0.9.1 lib/rbgccxml/nodes/constructor.rb
rbgccxml-0.9 lib/rbgccxml/nodes/constructor.rb