Class: Padrino::Admin::Generators::Orm::Column

Inherits:
Struct
  • Object
show all
Defined in:
padrino-admin/lib/padrino-admin/generators/orm.rb

Overview

for compatibility

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



47
48
49
# File 'padrino-admin/lib/padrino-admin/generators/orm.rb', line 47

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



47
48
49
# File 'padrino-admin/lib/padrino-admin/generators/orm.rb', line 47

def type
  @type
end