Class: PgTypes::SchemaDumper::TypeDefinition

Inherits:
Struct
  • Object
show all
Defined in:
lib/pg_types/schema_dumper.rb

Overview

Define a Struct for type information

Instance Attribute Summary collapse

Instance Attribute Details

#definitionObject

Returns the value of attribute definition

Returns:

  • (Object)

    the current value of definition



6
7
8
# File 'lib/pg_types/schema_dumper.rb', line 6

def definition
  @definition
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



6
7
8
# File 'lib/pg_types/schema_dumper.rb', line 6

def name
  @name
end